var rotateTimeInSeconds=5;var rotateIntervalHandle=null;function autoRotate()
{var elm=null;var evt=null;if(document.getElementById){elm=document.getElementById("slides-next").getElementsByTagName("a")[0];}
if(typeof(elm.click)=="function"){elm.click();}else{if(document.createEvent){evt=document.createEvent('MouseEvents');}
if(elm&&elm.dispatchEvent&&evt&&evt.initMouseEvent){evt.initMouseEvent('click',true,true,document.defaultView,1,0,0,0,0,false,false,false,false,0,null);elm.dispatchEvent(evt);}}}
function startRotation()
{try{rotateIntervalHandle=setInterval("autoRotate()",rotateTimeInSeconds*2000);}catch(err){}}
function stopRotation()
{try{clearInterval(rotateIntervalHandle);}catch(err){}}
function rotateInit()
{var el=null;try{el=document.getElementById("featured");el.onmouseover=stopRotation;el.onmouseout=startRotation;startRotation();}catch(err){}}