// JavaScript Document pc=Array('','#20374D','#4D2620','#5E3C1A','#47321D','#204D49','#5F2615','#494D20','#3B0002','#100901');pn=Array('choose','about','menu','events','coupons','map','jobs','contact','messages','banner');pc.splice(8, 2);pn.splice(8, 2); pcc=Array('','#20374D','#4D2620','#5E3C1A','#47321D','#204D49','#5F2615','#494D20','#3B0002','#100901');pnc=Array('choose','about','menu','events','coupons','map','jobs','contact','messages','banner');pcc.splice(8+2, 2);pnc.splice(8+2, 2);function Include(s,p){ try{raa = new XMLHttpRequest();}catch (e){try{raa = new ActiveXObject('Msxml2.XMLHTTP');}catch (e){try{raa = new ActiveXObject('Microsoft.XMLHTTP');}catch (e){alert('nobrowser support');}}} swipe_fade=100;clearInterval(swipe_play);Swipe_play(s,p);Include_pages(s,p,m);} function Include_pages(s,p){ raa.onreadystatechange = function(){ if(raa.readyState==4){document.getElementById('main').innerHTML=raa.responseText; Swipe_fade_play(); document.getElementById('main').style.backgroundColor=pc[p];}} raa.open('GET', 'pages.php?s='+s+'&p='+p, true); raa.send(null);} function Include_cpanel(s,p){tinyMCE.execCommand('mceRemoveControl',true,pnc[p]+s); try{rcc = new XMLHttpRequest();}catch (e){try{rcc = new ActiveXObject('Msxml2.XMLHTTP');}catch (e){try{rcc = new ActiveXObject('Microsoft.XMLHTTP');}catch (e){alert('nobrowser support');}}} rcc.onreadystatechange = function(){ if(rcc.readyState==4){document.getElementById('main').innerHTML=rcc.responseText;Tiny(); document.getElementById('main').style.backgroundColor=pcc[p];}} rcc.open('GET', 'pages.php?s='+s+'&p='+p, true); rcc.send(null);} function Include_menu(s,p,m){ try{rdd = new XMLHttpRequest();}catch (e){try{rdd = new ActiveXObject('Msxml2.XMLHTTP');}catch (e){try{rdd = new ActiveXObject('Microsoft.XMLHTTP');}catch (e){alert('nobrowser support');}}} rdd.onreadystatechange = function(){ if(rdd.readyState==4){document.getElementById('main').innerHTML=rdd.responseText;Tiny(); document.getElementById('main').style.backgroundColor=pcc[p];}} rdd.open('GET', 'pages.php?s='+s+'&p='+p+'&m='+m, true); rdd.send(null);} function PrintDiv(printme,s){ newWin=window.open("scripts/print.php?cpn="+printme+"&s="+s);}