
        function rollIn(imgName, imgObjName) {
            if (document.images) {
                document[imgName].src = eval(imgObjName + "on.src");
            }
        }
        
        function rollOut(imgName, imgObjName) {  // the normal onMouseOut function
            if (document.images){
                document[imgName].src = eval(imgObjName + "off.src");
            }
        }
		
		contentsleaderon = new Image(); contentsleaderon.src = "images/nv_1_contentsleader_on.gif";
        contentsleaderoff = new Image(); contentsleaderoff.src = "images/nv_1_contentsleader_off.gif";
		
		bioson = new Image(); bioson.src = "images/nv_1_bios_on.gif";
        biosoff = new Image(); biosoff.src = "images/nv_1_bios_off.gif";
		
		testimonialson = new Image(); testimonialson.src = "images/nv_1_testimonials_on.gif";
        testimonialsoff = new Image(); testimonialsoff.src = "images/nv_1_testimonials_off.gif";
		
		valuationon = new Image(); valuationon.src = "images/nv_2_valuation_on.gif";
        valuationoff = new Image(); valuationoff.src = "images/nv_2_valuation_off.gif";
		
		onsiteon = new Image(); onsiteon.src = "images/nv_2_onsite_on.gif";
        onsiteoff = new Image(); onsiteoff.src = "images/nv_2_onsite_off.gif";
		
		homeowneron = new Image(); homeowneron.src = "images/nv_2_homeowner_on.gif";
        homeowneroff = new Image(); homeowneroff.src = "images/nv_2_homeowner_off.gif";
		
		commercialon = new Image(); commercialon.src = "images/nv_2_commercial_on.gif";
        commercialoff = new Image(); commercialoff.src = "images/nv_2_commercial_off.gif";
		
		jewelryon = new Image(); jewelryon.src = "images/nv_2_jewelry_on.gif";
        jewelryoff = new Image(); jewelryoff.src = "images/nv_2_jewelry_off.gif";
		
		firearmson = new Image(); firearmson.src = "images/nv_2_firearms_on.gif";
        firearmsoff = new Image(); firearmsoff.src = "images/nv_2_firearms_off.gif";
		
		fulfillmenton = new Image(); fulfillmenton.src = "images/nv_2_fulfillment_on.gif";
        fulfillmentoff = new Image(); fulfillmentoff.src = "images/nv_2_fulfillment_off.gif";
		
		onlineformon = new Image(); onlineformon.src = "images/nv_3_onlineform_on.gif ";
        onlineformoff = new Image(); onlineformoff.src = "images/nv_3_onlineform_off.gif ";
		
		downloadformon = new Image(); downloadformon.src = "images/nv_3_downloadform_on.gif ";
        downloadformoff = new Image(); downloadformoff.src = "images/nv_3_downloadform_off.gif ";
		
		
//Contents for menu 1, and so on
var menu1=new Array()
menu1[0]='<a href="about-claimplus.asp" onMouseOver="rollIn(\'contentsleader\', \'contentsleader\');" onMouseOut="rollOut(\'contentsleader\', \'contentsleader\');"><img src="images/nv_1_contentsleader_off.gif" width="162" name="contentsleader" id="contentsleader" height="28" alt="" border="0"></a>'
menu1[1]='<a href="executive-bios.asp" onMouseOver="rollIn(\'bios\', \'bios\');" onMouseOut="rollOut(\'bios\', \'bios\');"><img src="images/nv_1_bios_off.gif" id="bios" name="bios" width="162" height="26" alt="" border="0"></a>'
menu1[2]='<a href="testimonials.asp" onMouseOver="rollIn(\'testimonials\', \'testimonials\');" onMouseOut="rollOut(\'testimonials\', \'testimonials\');"><img src="images/nv_1_testimonials_off.gif" id="testimonials" name="testimonials" width="162" height="34" alt="" border="0"></a>'

var menu2=new Array()
menu2[0]='<a href="contents-valuation.asp" onMouseOver="rollIn(\'valuation\', \'valuation\');" onMouseOut="rollOut(\'valuation\', \'valuation\');"><img src="images/nv_2_valuation_off.gif" width="187" name="valuation" id="valuation" height="29" alt="" border="0"></a>'
menu2[1]='<a href="onsite-inventory-services.asp" onMouseOver="rollIn(\'onsite\', \'onsite\');" onMouseOut="rollOut(\'onsite\', \'onsite\');"><img src="images/nv_2_onsite_off.gif" id="onsite" name="onsite" width="187" height="25" alt="" border="0"></a>'
//menu2[2]='<a href="homeowner.asp" onMouseOver="rollIn(\'homeowner\', \'homeowner\');" onMouseOut="rollOut(\'homeowner\', \'homeowner\');"><img src="images/nv_2_homeowner_off.gif" id="homeowner" name="homeowner" width="187" height="25" alt="" border="0"></a>'
menu2[2]='<a href="commercial.asp" onMouseOver="rollIn(\'commercial\', \'commercial\');" onMouseOut="rollOut(\'commercial\', \'commercial\');"><img src="images/nv_2_commercial_off.gif" id="commercial" name="commercial" width="187" height="25" alt="" border="0"></a>'		
menu2[3]='<a href="jewelry.asp" onMouseOver="rollIn(\'jewelry\', \'jewelry\');" onMouseOut="rollOut(\'jewelry\', \'jewelry\');"><img src="images/nv_2_jewelry_off.gif" id="jewelry" name="jewelry" width="187" height="25" alt="" border="0"></a>'		
menu2[4]='<a href="firearms.asp" onMouseOver="rollIn(\'firearms\', \'firearms\');" onMouseOut="rollOut(\'firearms\', \'firearms\');"><img src="images/nv_2_firearms_off.gif" id="firearms" name="firearms" width="187" height="25" alt="" border="0"></a>'		
menu2[5]='<a href="fulfillment-services.asp" onMouseOver="rollIn(\'fulfillment\', \'fulfillment\');" onMouseOut="rollOut(\'fulfillment\', \'fulfillment\');"><img src="images/nv_2_fulfillment_off.gif" id="fulfillment" name="fulfillment" width="187" height="29" alt="" border="0"></a>'		

var menu3=new Array()
menu3[0]='<a href="submit-a-claim.asp" onMouseOver="rollIn(\'onlineform\', \'onlineform\');" onMouseOut="rollOut(\'onlineform\', \'onlineform\');"><img src="images/nv_3_onlineform_off.gif" width="162" name="onlineform" id="onlineform" height="29" alt="" border="0"></a>'
menu3[1]='<a href="Claimplus_ClaimForm.pdf" target="_blank" " onMouseOver="rollIn(\'downloadform\', \'downloadform\');" onMouseOut="rollOut(\'downloadform\', \'downloadform\');"><img src="images/nv_3_downloadform_off.gif" width="162" name="downloadform" id="downloadform" height="36" alt="" border="0"></a>'
				
		
		
		
var menuwidth='0px' //default menu width
var menubgcolor=''  //menu bgcolor
var disappeardelay=250  //menu disappear speed onMouseout (in miliseconds)
var hidemenu_onclick="yes" //hide menu when user clicks within menu?

/////No further editting needed

var ie4=document.all
var ns6=document.getElementById&&!document.all

if (ie4||ns6)
document.write('<div id="dropmenudiv" style="visibility:hidden;width:'+menuwidth+';background-color:'+menubgcolor+'" onMouseover="clearhidemenu()" onMouseout="dynamichide(event)"></div>')

function getposOffset(what, offsettype){
var totaloffset=(offsettype=="left")? what.offsetLeft : what.offsetTop;
var parentEl=what.offsetParent;
while (parentEl!=null){
totaloffset=(offsettype=="left")? totaloffset+parentEl.offsetLeft : totaloffset+parentEl.offsetTop;
parentEl=parentEl.offsetParent;
}
return totaloffset;
}


function showhide(obj, e, visible, hidden, menuwidth){
if (ie4||ns6)
dropmenuobj.style.left=dropmenuobj.style.top="-500px"
if (menuwidth!=""){
dropmenuobj.widthobj=dropmenuobj.style
dropmenuobj.widthobj.width=menuwidth
}
if (e.type=="click" && obj.visibility==hidden || e.type=="mouseover")
obj.visibility=visible
else if (e.type=="click")
obj.visibility=hidden
}

function iecompattest(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}

function clearbrowseredge(obj, whichedge){
var edgeoffset=0
if (whichedge=="rightedge"){
var windowedge=ie4 && !window.opera? iecompattest().scrollLeft+iecompattest().clientWidth-15 : window.pageXOffset+window.innerWidth-15
dropmenuobj.contentmeasure=dropmenuobj.offsetWidth
if (windowedge-dropmenuobj.x < dropmenuobj.contentmeasure)
edgeoffset=dropmenuobj.contentmeasure-obj.offsetWidth
}
else{
var topedge=ie4 && !window.opera? iecompattest().scrollTop : window.pageYOffset
var windowedge=ie4 && !window.opera? iecompattest().scrollTop+iecompattest().clientHeight-15 : window.pageYOffset+window.innerHeight-18
dropmenuobj.contentmeasure=dropmenuobj.offsetHeight
if (windowedge-dropmenuobj.y < dropmenuobj.contentmeasure){ //move up?
edgeoffset=dropmenuobj.contentmeasure+obj.offsetHeight
if ((dropmenuobj.y-topedge)<dropmenuobj.contentmeasure) //up no good either?
edgeoffset=dropmenuobj.y+obj.offsetHeight-topedge
}
}
return edgeoffset
}

function populatemenu(what){
if (ie4||ns6)
dropmenuobj.innerHTML=what.join("")
}


function dropdownmenu(obj, e, menucontents, menuwidth){
if (window.event) event.cancelBubble=true
else if (e.stopPropagation) e.stopPropagation()
clearhidemenu()
dropmenuobj=document.getElementById? document.getElementById("dropmenudiv") : dropmenudiv
populatemenu(menucontents)

if (ie4||ns6){
showhide(dropmenuobj.style, e, "visible", "hidden", menuwidth)
dropmenuobj.x=getposOffset(obj, "left")
dropmenuobj.y=getposOffset(obj, "top")
//alert("left " + dropmenuobj.x-clearbrowseredge(obj, "rightedge")+"px")
dropmenuobj.style.left=dropmenuobj.x-clearbrowseredge(obj, "rightedge")+"px"
dropmenuobj.style.top=dropmenuobj.y-clearbrowseredge(obj, "bottomedge")+obj.offsetHeight+"px"
}

return clickreturnvalue()
}

function clickreturnvalue(){
if (ie4||ns6) return false
else return true
}

function contains_ns6(a, b) {
while (b.parentNode)
if ((b = b.parentNode) == a)
return true;
return false;
}

function dynamichide(e){
if (ie4&&!dropmenuobj.contains(e.toElement))
delayhidemenu()
else if (ns6&&e.currentTarget!= e.relatedTarget&& !contains_ns6(e.currentTarget, e.relatedTarget))
delayhidemenu()
}

function hidemenu(e){
if (typeof dropmenuobj!="undefined"){
if (ie4||ns6)
dropmenuobj.style.visibility="hidden"
}
}

function delayhidemenu(){
if (ie4||ns6)
delayhide=setTimeout("hidemenu()",disappeardelay)
}

function clearhidemenu(){
if (typeof delayhide!="undefined")
clearTimeout(delayhide)
}

if (hidemenu_onclick=="yes")
document.onclick=hidemenu

// START IMAGE ROTATION SCRIPT
function ImageSet(image2src)
		{
			this.centerImage = new Image();
			this.centerImage.src = image2src;
		}
        
        
		function main()
		{
			CurrentImageIndex = 0;
			CurrentOpacityLevel = 0;
			ImageSource = new Array();
			ImageSource.push(new ImageSet("images/CP_Hm_img_1.jpg"));
			ImageSource.push(new ImageSet("images/CP_Hm_img_2.jpg"));
			ImageSource.push(new ImageSet("images/CP_Hm_img_3.jpg"));
			ImageSource.push(new ImageSet("images/CP_Hm_img_4.jpg"));
			ImageSource.push(new ImageSet("images/CP_Hm_img_5.jpg"));
			ImageSource.push(new ImageSet("images/CP_Hm_img_6.jpg"));

			//	Set The images to be invisible

			setTimeout(StartRotate, 500);
		}

		function StartRotate()
		{
			//	Place the newer images in the image holders
			SetOpacity(0);
			setTimeout(KeepRotating, 100);
		}

		function KeepRotating()
		{
			CycleImages();
			ContinueRotate();
		}

		function ContinueRotate()
		{
			CurrentOpacityLevel += 4;
			SetOpacity(CurrentOpacityLevel);
			if(CurrentOpacityLevel != 100)
			{
				setTimeout(ContinueRotate, 40);
			}
			else
			{
				setTimeout(FinishRotate, 3000);
			}
		}

		function FinishRotate()
		{
			TransferImages();

			SetOpacity(0);
			StartRotate();
		}

		function SetOpacity(opacityLevel)
		{
			CurrentOpacityLevel = opacityLevel;
			var centerImageHolder = document.getElementById("CENTER_IMAGE");
			
			centerImageHolder.style.filter = "progid:DXImageTransform.Microsoft.Alpha(opacity=" + opacityLevel + ")";
			centerImageHolder.style.opacity = opacityLevel / 100;
			
		}
		function TransferImages()
		{
			var centerImageHolder = document.getElementById("CENTER_IMAGE");
			
			var centerImageBackground = document.getElementById("CENTER_IMAGE_ALT");
			
			centerImageBackground.style.backgroundImage = "url(" + centerImageHolder.src + ")";
			
		}
		function CycleImages()
		{
			++CurrentImageIndex;
			if(CurrentImageIndex == 6)
			{
				CurrentImageIndex = 0;
			}

			var centerImageHolder = document.getElementById("CENTER_IMAGE");
			
			var currentImage = ImageSource[CurrentImageIndex];

			centerImageHolder.src = currentImage.centerImage.src;
			
		}
		var CurrentOpacityLevel;
		var CurrentImageIndex;
		var ImageSource;
