// JavaScript Document

Event.observe(window,'load',function() {
    Event.observe('questions','mouseover',questionsOver);	
	Event.observe('questions','mouseout',questionsOut);
	Event.observe('lv','click',questionsDown);
});

function questionsOver() {
	$('questions').src = 'images/questions-over.gif';
}

function questionsOut() {
	$('questions').src = 'images/questions.gif';
}

function questionsDown() {
	Lightview.show({
        href: 'iface/questions.php',
        rel: 'ajax',
        title: 'Question Form',
		caption: 'We will answer your questions as soon as possible!',
		overflow: 'hidden',
        options: {
            width: 620,
		    height: 350,
            ajax: {
                method: 'get',
                evalScripts: true
            }
        }
    });
}

function tellFriends() {
	Lightview.show({
        href: 'iface/tellfriends.php',
        rel: 'ajax',
        title: 'Tell your friends!',
		caption: 'Send the "Happy Birthday Jesus" movement to friends and family!',
		overflow: 'hidden',
        options: {
            width: 443,
		    height: 188,
            ajax: {
                method: 'get',
                evalScripts: true
            }
        }
    });
}

function tellPastors() {
	Lightview.show({
        href: 'iface/tellpastors.php',
        rel: 'ajax',
        title: 'Tell your pastors!',
		caption: 'Send the "Happy Birthday Jesus" movement to pastors!',
		overflow: 'hidden',
        options: {
            width: 443,
		    height: 188,
            ajax: {
                method: 'get',
                evalScripts: true
            }
        }
    });
}