function runFlash(path,width,height){document.write('<object type="application/x-shockwave-flash" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" align="middle" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"  width="'+width+'" height="'+height+'">\n');document.write('<param name="movie" value="'+path+'" />\n');document.write('<param name="wmode" value="transparent" />\n');document.write('<param name="quality" value="high" />\n');document.write('<embed src="'+path+'" width="'+width+'" height="'+height+'"></embed>\n');document.write('</object>\n');}
function fadeArea(vis,options){var options=options||{};var zindex=options.zindex||50;var opacity=options.opacity||70;var opaque=(opacity/100);var bgcolor=options.bgcolor||'#000000';var darkElementId;if(options.darkElementId!=null){darkElementId=options.darkElementId;}else{darkElementId='body';}
var dark=document.getElementById('darkenScreenObject');if(!dark){var tbody=document.getElementById(darkElementId);var tnode=document.createElement('div');tnode.style.position='absolute';var coors=findPos(tbody);tnode.style.top=coors[1]+'px';tnode.style.left=coors[0]+'px';tnode.style.overflow='hidden';tnode.style.display='none';tnode.id='darkenScreenObject';tbody.appendChild(tnode);dark=document.getElementById('darkenScreenObject');}
if(vis){if(document.body&&(document.body.scrollWidth||document.body.scrollHeight)){var pageWidth=document.body.scrollWidth+'px';var pageHeight=document.body.scrollHeight+'px';}else if(document.body.offsetWidth){var pageWidth=document.body.offsetWidth+'px';var pageHeight=document.body.offsetHeight+'px';}else{var pageWidth='100%';var pageHeight='100%';}
dark.style.opacity=opaque;dark.style.MozOpacity=opaque;dark.style.filter='alpha(opacity='+opacity+')';dark.style.zIndex=zindex;dark.style.backgroundColor=bgcolor;dark.style.width=document.getElementById(darkElementId).offsetWidth+1+'px';dark.style.height=document.getElementById(darkElementId).offsetHeight+1+'px';dark.style.display='block';}else{dark.style.display='none';}}
function findPos(obj)
{var curleft=curtop=0;if(obj.offsetParent){curleft=obj.offsetLeft
curtop=obj.offsetTop
while(obj=obj.offsetParent){curleft+=obj.offsetLeft
curtop+=obj.offsetTop}}
return[curleft,curtop];}
function overlayDropDown(value){if(document.all)
if(document.all.selectSearch)
if(document.all.selectSearch.filters){if(value){document.all.selectSearch.filters["revealTrans"].apply();document.all.section.style.display="none";}else{document.all.selectSearch.filters["revealTrans"].enabled=false;document.all.section.style.display="block";}}}
var aniLoop=0;function displayMessage(message,aniDiv){var dotsNum=aniLoop%4;var dots="";for(i=0;i<dotsNum;i++){dots+=".";}
searchAni=document.getElementById(aniDiv);searchAni.innerHTML="<p style='font-weight:bold; font-size: 16pt; padding-left:190px; padding-top: 25px;color: black;'>"+message+dots+"</p>";aniLoop++;}
function startSearchLogo(aniContainer){var tbody=document.getElementById(aniContainer);var tnode=document.createElement('div');tnode.style.position='absolute';var coors=findPos(tbody);tnode.style.top=coors[1]+'px';tnode.style.left=coors[0]+'px';tnode.style.overflow='hidden';tnode.style.display='block';tnode.id='searchAniDiv';tnode.style.zIndex=50;tbody.appendChild(tnode);var func="displayMessage('Searching','searchAniDiv');";setInterval(func,400);}
var lock=false;
function startSearch(){
  if(!lock){
    lock=true;
    document.getElementById('submitBtn').focus();
    overlayDropDown(true);
    fadeArea(true,{'opacity':'70','bgcolor':'#fff','zindex':'25','darkElementId':'search_form_container'});
    startSearchLogo('search_form_container');
  }
}
function uncache(url){var d=new Date();return url+((url.indexOf("?")!=-1)?"&":"?")+'time='+d.getTime();}