function openwin(info,winwidth,winheight){if(winwidth==""){var winwidth=770;}
if(winheight==""){var winheight=575;}
var MainWindow=window.open(info,"_blank","toolbar=no,location=no,menubar=no,scrollbars=yes,width="+winwidth+",height="+winheight+",resizable=yes,status=no");}
function P7_ExpMenu(){if(navigator.appVersion.indexOf("MSIE")==-1){return;}
var i,k,g,lg,r=/\s*p7hvr/,nn='',c,cs='p7hvr',bv='p7menubar';for(i=0;i<10;i++){g=document.getElementById(bv+nn);if(g){lg=g.getElementsByTagName("LI");if(lg){for(k=0;k<lg.length;k++){lg[k].onmouseover=function(){c=this.className;cl=(c)?c+' '+cs:cs;this.className=cl;};lg[k].onmouseout=function(){c=this.className;this.className=(c)?c.replace(r,''):'';};}}}nn=i+1;}}
function readCookie(name){var nameEQ=name+"=";var ca=document.cookie.split(';');for(var i=0;i<ca.length;i++){var c=ca[i];while(c.charAt(0)==' ')c=c.substring(1,c.length);if(c.indexOf(nameEQ)==0)return c.substring(nameEQ.length,c.length);}
return null;}
function createCookie(name,value,days){if(days){var date=new Date();date.setTime(date.getTime()+(days*24*60*60*1000));var expires="; expires="+date.toGMTString();}
else var expires="";document.cookie=name+"="+value+expires+"; path=/";}
toggle_arrows=function(currSlideElement,nextSlideElement,options,forwardFlag){var slideIndex=$(currSlideElement).parents('.section').find('.section_content').children('.entry').index(this);var total_slides=$(currSlideElement).parents('.section').find('.section_content').children('.entry').length;if(slideIndex==0){$(currSlideElement).parents('.section').find('.section_header a.nav_prev').hide();}else if(slideIndex>0){$(currSlideElement).parents('.section').find('.section_header a.nav_prev').show();}
if(slideIndex==total_slides-1){$(currSlideElement).parents('.section').find('.section_header a.nav_next').hide();}else{$(currSlideElement).parents('.section').find('.section_header a.nav_next').show();}}
toggle_arrows_by_click=function(isNext,zeroBasedSlideIndex,slideElement){var total_slides=$(slideElement).parents('.section').find('.section_content').children('.entry').length;if(zeroBasedSlideIndex==0){$(slideElement).parents('.section').find('.section_header a.nav_prev').hide();}else{$(slideElement).parents('.section').find('.section_header a.nav_prev').show();}
if(zeroBasedSlideIndex==total_slides-1){$(slideElement).parents('.section').find('.section_header a.nav_next').hide();}else{$(slideElement).parents('.section').find('.section_header a.nav_next').show();}}
jQuery(document).ready(function($){$('#inhouse_features').cycle({fx:'scrollUp',timeout:8000,pause:1,pauseOnPagerHover:1,delay:-4000,next:'#inhouse_features_control a.nav_next',fastOnEvent:1});});