var nav_hic;
nav_hic = new Array();
nav_hic[0] = new Image(70,33);
nav_hic[0].src = window.root + "images/nav_home-over.gif";
nav_hic[1] = new Image(134,33);
nav_hic[1].src = window.root + "images/nav_gettingTo-over.gif";
nav_hic[2] = new Image(106,33);
nav_hic[2].src = window.root + "images/nav_stepByStep-over.gif";
nav_hic[3] = new Image(85,33);
nav_hic[3].src = window.root + "images/nav_opticlick-over.gif";
nav_hic[4] = new Image(137,33);
nav_hic[4].src = window.root + "images/nav_answers-over.gif";
nav_hic[5] = new Image(89,33);
nav_hic[5].src = window.root + "images/nav_support-over.gif";
nav_hic[6] = new Image(114,33);
nav_hic[6].src = window.root + "images/nav_howToGet-over.gif";

nav_hic[7] = new Image(88,25);
nav_hic[7].src = window.root + "images/sub_opticlikParts-over.gif";
nav_hic[8] = new Image(120,25);
nav_hic[8].src = window.root + "images/sub_generalWarnings-over.gif";
nav_hic[9] = new Image(147,25);
nav_hic[9].src = window.root + "images/sub_addInfo-over.gif";

nav_hic[10] = new Image(117,25);
nav_hic[10].src = window.root + "images/sub_step1-over.gif";
nav_hic[11] = new Image(81,25);
nav_hic[11].src = window.root + "images/sub_step2-over.gif";
nav_hic[12] = new Image(82,25);
nav_hic[12].src = window.root + "images/sub_step3-over.gif";
nav_hic[13] = new Image(71,25);
nav_hic[13].src = window.root + "images/sub_step4-over.gif";
nav_hic[14] = new Image(76,25);
nav_hic[14].src = window.root + "images/sub_step5-over.gif";
nav_hic[15] = new Image(114,25);
nav_hic[15].src = window.root + "images/sub_step6-over.gif";

var nav_lowc;
nav_lowc = new Array();
nav_lowc[0] = new Image(70,33);
nav_lowc[0].src = window.root + "images/nav_home.gif";
nav_lowc[1] = new Image(134,33);
nav_lowc[1].src = window.root + "images/nav_gettingTo.gif";
nav_lowc[2] = new Image(106,33);
nav_lowc[2].src = window.root + "images/nav_stepByStep.gif";
nav_lowc[3] = new Image(85,33);
nav_lowc[3].src = window.root + "images/nav_opticlick.gif";
nav_lowc[4] = new Image(137,33);
nav_lowc[4].src = window.root + "images/nav_answers.gif";
nav_lowc[5] = new Image(89,33);
nav_lowc[5].src = window.root + "images/nav_support.gif";
nav_lowc[6] = new Image(114,33);
nav_lowc[6].src = window.root + "images/nav_howToGet.gif";

nav_lowc[7] = new Image(88,25);
nav_lowc[7].src = window.root + "images/sub_opticlikParts.gif";
nav_lowc[8] = new Image(120,25);
nav_lowc[8].src = window.root + "images/sub_generalWarnings.gif";
nav_lowc[9] = new Image(147,25);
nav_lowc[9].src = window.root + "images/sub_addInfo.gif";

nav_lowc[10] = new Image(117,25);
nav_lowc[10].src = window.root + "images/sub_step1.gif";
nav_lowc[11] = new Image(81,25);
nav_lowc[11].src = window.root + "images/sub_step2.gif";
nav_lowc[12] = new Image(82,25);
nav_lowc[12].src = window.root + "images/sub_step3.gif";
nav_lowc[13] = new Image(71,25);
nav_lowc[13].src = window.root + "images/sub_step4.gif";
nav_lowc[14] = new Image(76,25);
nav_lowc[14].src = window.root + "images/sub_step5.gif";
nav_lowc[15] = new Image(114,25);
nav_lowc[15].src = window.root + "images/sub_step6.gif";

function MM_openBrWindow(theURL,winName,features) { //v2.0
  openWin(window.root+theURL,winName,features);
}

function openWin( windowURL, windowName, windowFeatures) {
     winhandle = window.open( windowURL, windowName, windowFeatures ) ;
	 try {
	 	winhandle.focus();
	}
	catch(err) {
		alert("To view this information, please disable your popup blocker or add www.lantus.com to your safe list");
	}
};


 
function exitSite(destination)
{
	openWin(window.root+ 'exit_site.aspx?destination=' + destination ,'pop_up','width=550,height=590,scrollbars=auto');
}



function exitSiteAventis(destination)
{
	openWin(window.root + 'exit_site_aventis.aspx?destination=' + destination ,'pop_up','width=570,height=470,scrollbars=auto');
}


function openWin( windowURL, windowName, windowFeatures) {
     winhandle = window.open( windowURL, windowName, windowFeatures ) ;
	 try {
	 	winhandle.focus();
	}
	catch(err) {
		alert("To view this information, please disable your popup blocker or add www.lantus.com to your safe list");
	}
};


function videopopup()
{
	
	openWin('/common/videopopup.do' ,'pop_up2','resizable=no,toolbar=no,status=no,menubar=no,scrollbars=yes,width=450,height=600,top=(screen.availHeight-600)/2, left=(screen.availWidth-500)/2');
}


function videopopup2()
{
	
	openWin('/common/videopopup2.do' ,'pop_up2','resizable=no,toolbar=no,status=no,menubar=no,scrollbars=yes,width=450,height=600,top=(screen.availHeight-600)/2, left=(screen.availWidth-500)/2');
}

function showDiv(element, checkBox)
{
    var div;
    var check;

    check = document.getElementById(checkBox);
    div = document.getElementById(element);

    if(check.checked)
    {
        div.style.display  = "block";
    }else{
        div.style.display  = "none";
    }
}

function showDivRadio(element, element2, checkBox,value)
{
    var div;
    var divToHide;
    var check;

    check = document.getElementById(checkBox);
    div = document.getElementById(element);
    divToHide = document.getElementById(element2);
    if(check.value = value)
    {
        div.style.display  = "block";        
    }else{        
        divToHide.style.display  = "block";
    }
}  


 function openWinb( windowURL, windowName, windowFeatures) 
{
     newWindow = window.open( windowURL, windowName, windowFeatures ) ;
	 try {
	 	newWindow.focus();
	}
	catch(err) {
		alert("To view this information, please disable your popup blocker or add www.amaryl.com to your safe list");
	}
};


