var featuredcontentslider={ajaxloadingmsg:'
Fetching slider Contents. Please wait...
',bustajaxcache:true,enablepersist:true,settingcaches:{},jumpTo:function(a,b){this.turnpage(this.settingcaches[a],b)},ajaxconnect:function(a){var b=false;if(window.ActiveXObject)try{b=new ActiveXObject("Msxml2.XMLHTTP")}catch(c){try{b=new ActiveXObject("Microsoft.XMLHTTP")}catch(d){}}else if(window.XMLHttpRequest)b=new XMLHttpRequest;else return false; var e=a.contentsource[1];b.onreadystatechange=function(){featuredcontentslider.ajaxpopulate(b,a)};document.getElementById(a.id).innerHTML=this.ajaxloadingmsg;var g=!this.bustajaxcache?"":e.indexOf("?")!=-1?"&"+(new Date).getTime():"?"+(new Date).getTime();b.open("GET",e+g,true);b.send(null)},ajaxpopulate:function(a,b){if(a.readyState==4&&(a.status==200||window.location.href.indexOf("http")==-1))document.getElementById(b.id).innerHTML=a.responseText,this.buildpaginate(b)},buildcontentdivs:function(a){for(var b= document.getElementById(a.id).getElementsByTagName("div"),c=0;c'+(typeof e=="string"?e.replace(/#increment/,f): e[f-1])+" ";d=(g[0]!=""?' ":"")+d+(g[1]!=""?'":"");c.innerHTML=d}d=c.getElementsByTagName("a");for(f=e=0;fa.contentdivs.length-1?d[f].style.display="none":(d[f].setAttribute("rel",++e),d[f][a.revealtype]=function(){featuredcontentslider.turnpage(a,this.getAttribute("rel"));return false},a.toclinks.push(d[f]));else if(this.css(d[f],"prev","check")||this.css(d[f],"next", "check"))d[f].onclick=function(){featuredcontentslider.turnpage(a,this.className);return false};this.turnpage(a,a.currentpage,true);if(a.autorotate[0])c[a.revealtype]=function(){featuredcontentslider.cleartimer(a,window["fcsautorun"+a.id])},b.onclick=function(){featuredcontentslider.cleartimer(a,window["fcsautorun"+a.id])},a.autorotate[1]+=1/a.enablefade[1]*50,this.autorotate(a)},urlparamselect:function(a){return window.location.search.match(RegExp(a+"=(\\d+)","i"))==null?null:parseInt(RegExp.$1)}, turnpage:function(a,b,c){var d=a.currentpage,e=a.contentdivs.length,b=/prev/i.test(b)?d-1:/next/i.test(b)?d+1:parseInt(b),b=b<1?e:b>e?1:b;if(!(b==a.currentpage&&typeof c=="undefined")){a.currentpage=b;if(b==1&&a.topzindex>100)for(c=a.topzindex=0;c