/*****************************************
* Dissolving Image Rollover- By Roy Whittle (http://www.javascript-fx.com/)
* Featured on/available at http://www.dynamicdrive.com/
* This notice must stay intact for use
*****************************************/

//Generate transition CSS (transition=0 to 23)
//document.write('<STYLE TYPE="text/css">.imgTrans{ filter:revealTrans(duration=0.4,transition=12) }</STYLE>');

//Uncomment the next line for fading rollovers instead of dissolving:
document.write('<STYLE TYPE="text/css">.imgTrans{ filter:blendTrans(duration=0.4) }</STYLE>');

var onImages=new Array();
function Rollover(imgName, imgSrc)
{
	onImages[imgName] = new Image();
	onImages[imgName].src = imgSrc;
}

function turnOn(imgName){ 
	if(document.images[imgName].filters != null)
		document.images[imgName].filters[0].apply();
	document.images[imgName].offSrc = document.images[imgName].src;
	document.images[imgName].src    = onImages[imgName].src;
	if(document.images[imgName].filters != null)
		document.images[imgName].filters[0].play();
}

function turnOff(imgName){ 
	if(document.images[imgName].filters != null)
		document.images[imgName].filters[0].apply();
	//document.images[imgName].offSrc = document.images[imgName].src;
	document.images[imgName].src    = document.images[imgName].offSrc;
	if(document.images[imgName].filters != null)
		document.images[imgName].filters[0].play();
}

/*function turnOff(imgName){ 
	if(document.images[imgName].filters != null)
		document.images[imgName].filters[0].stop();
	document.images[imgName].src = document.images[imgName].offSrc;
}*/

//Specify name of participating images, plus paths to their onMouseover replacements:


//section for effect on default page
Rollover("link1",             "images/home/Home_ContactUs_On.jpg");
Rollover("topArrow_Lrg",      "images/home/Home_Arrow_Top_On.jpg");
Rollover("leftBox",           "images/home/Home_Box_left_On.jpg");
Rollover("rightBox",          "images/home/Home_Box_Right_On.jpg");
Rollover("leftArrow_Lrg",     "images/home/Home_Arrow_Left_On.jpg");
Rollover("bottomBox",         "images/home/Home_Box_Bottom_On.jpg");
Rollover("rightArrow_Lrg",    "images/home/Home_Arrow_Right_On.jpg");

Rollover("topArrow_Small",    "images/home/Home_Arrow_Top_Small_On.jpg");
Rollover("leftArrow_Small",   "images/home/Home_Arrow_Left_Small_On.jpg");
Rollover("rightArrow_Small",  "images/home/Home_Arrow_Right_Small_On.jpg");

Rollover("Office_Text01",    "images/office/Office_Left_Text01_On.jpg");
Rollover("Office_Text02",    "images/office/Office_Left_Text02_On.jpg");
Rollover("Office_Text03",    "images/office/Office_Left_Text03_On.jpg");
Rollover("Office_Text04",    "images/office/Office_Left_Text04_On.jpg");

Rollover("Software_Button",    "images/software/Software_Play_Button.jpg");

Rollover("Register_Button",    "images/contact/Register_Button_On.jpg");


Rollover("home",              "images/nav/Nav_Home_Btn_On.jpg");
Rollover("health",            "images/nav/Nav_Health_Btn_On.jpg");
Rollover("rescue",            "images/nav/Nav_Rescue_Btn_On.jpg");
Rollover("office",            "images/nav/Nav_Office_Btn_On.jpg");
Rollover("software",          "images/nav/Nav_Software_Btn_On.jpg");
Rollover("news",              "images/nav/Nav_News_Btn_On.jpg");
Rollover("contact",           "images/nav/Nav_Contact_Btn_On.jpg");









