var ns4=document.layers?1:0
var ie4=document.all?1:0
var ns6=document.getElementById&&!document.all?1:0

if (ie4||ns6)
document.write('<div id="slidemenubar2" style="left:-32">')
else
document.write('<layer id="slidemenubar">')

   document.write("<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0\" width=\"300\" height=\"250\">");
   document.write("<param name=movie value=\"http://ads.iawsnetwork.com/flash/desiree.swf\">");
   document.write("<param name=quality value=high>");
   document.write("<param name=wmode value=transparent>");
   document.write("<embed src=\"http://ads.iawsnetwork.com/flash/desiree.swf\" quality=high pluginspage=\"http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash\" type=\"application/x-shockwave-flash\" width=\"300\" height=\"250\">");
   document.write("</embed></object>");

function gotoURL(linkID) {
   document.location.replace(linkURL);
}
function regenerate(){
window.location.reload()
}
function regenerate2(){
if (ns4)
setTimeout("window.onresize=regenerate",400)
}
window.onload=regenerate2
if (ie4||ns6){
document.write('</div>')
themenu=(ns6)? document.getElementById("slidemenubar2").style : document.all.slidemenubar2.style
rightboundary=0
leftboundary=-320
}

else
{
 document.write('</layer>')
 themenu=document.layers.slidemenubar
 rightboundary=400
 leftboundary=80
}

function pull()
{
  if (window.drawit)
  clearInterval(drawit)
  pullit=setInterval("pullengine()",50)
}

function draw()
{
  clearInterval(pullit)
  drawit=setInterval("drawengine()",50)
}

function pullengine()
{
 if (ie4&&themenu.pixelLeft<rightboundary)
 	  themenu.pixelLeft+=5
 else if (ns6&&parseInt(themenu.left)<rightboundary)
 	  themenu.left=parseInt(themenu.left)+5
 else if( ns4&&themenu.left<rightboundary)
 	  themenu.left+=5
 else if (window.pullit)
   	  clearInterval(pullit)
}

function drawengine()
{
 if (ie4&&themenu.pixelLeft>leftboundary)
 	themenu.pixelLeft-=5
 else if (ns6&&parseInt(themenu.left)>leftboundary)
 	themenu.left=parseInt(themenu.left)-5
 else if(ns4&&themenu.left>leftboundary)
 	themenu.left-=5
 else if (window.drawit)
 	clearInterval(drawit)
}

   setTimeout("pull()",1)
	setTimeout("draw()",10000)
	setTimeout("pull()",30000)
	setTimeout("draw()",40000)
	

