$(document).ready(function(){var hover_timeout=undefined;$("#contentmenu > li").bind("mouseenter",function(){$("#contentmenu > li").find("div:first").css("display:none;");if(hover_timeout!=undefined){clearTimeout(hover_timeout);}
var $this=this;hover_timeout=setTimeout(function(){hover_timeout=undefined;$($this).find("div:first").slideDown('fast');},200);});$("#contentmenu > li").bind("mouseleave",function(){clearTimeout(hover_timeout);$(this).find("div:first").slideUp('fast');});$('#fade').cycle({fx:'fade',speed:6000,pause:1,random:1});$('#fade2').cycle({fx:'turnDown',speed:5900,pause:1,random:1});$('#fade3').cycle({fx:'fade',speed:5000,pause:1,random:1});var hover_timeout2=undefined;$("#brandmenu > li").bind("mouseenter",function(){$("#brandmenu > li").find("div:first").css("display:none;");if(hover_timeout2!=undefined){clearTimeout(hover_timeout2);}
var $this=this;hover_timeout2=setTimeout(function(){hover_timeout2=undefined;$($this).find("div:first").fadeIn('fast');},200);});$("#brandmenu > li").bind("mouseleave",function(){clearTimeout(hover_timeout2);$(this).find("div:first").fadeOut('fast');});$("ul.menu_body li:even").addClass("alt");$('img.menu_head').click(function(){$('ul.menu_body').slideToggle('medium');});});function showDivision(division){document.getElementById(division).style.display='block';}
function hideDivision(division){document.getElementById(division).style.display='none';}
function SetContent(curcont){if(document.getElementById(curcont)){curdiv=document.getElementById(curcont);curdiv.style.display='block';}
return;}
function SwitchContent(curcont,choice){curdiv=document.getElementById(curcont);curdiv.style.display='none';newdiv=document.getElementById(choice);newdiv.style.display='block';curcont=choice;return;}
function toggleDisplay(divToToggle){curdiv=document.getElementById(divToToggle);if(curdiv.style.display=='none')curdiv.style.display='block';else curdiv.style.display='none';return;}
function changePage(newLoc)
{var dd=document.salesform.country.selectedIndex;var ss=document.salesform.country[dd].text;if(ss=='Other'){nextPage=newLoc.options[newLoc.selectedIndex].value
document.location.href=nextPage}}
