if (screen.width >= 640)
 document.writeln("<LINK REL=STYLESHEET type='text/css' HREF='640480.css'>"); 

if (screen.width >= 720 && screen.height >= 480)
 document.writeln("<LINK REL=STYLESHEET type='text/css' HREF='720480.css'>"); 

if (screen.width >= 720 && screen.height >= 576)
 document.writeln("<LINK REL=STYLESHEET type='text/css' HREF='720576.css'>"); 
if (screen.width >= 800 && screen.height >= 600)
 document.writeln("<LINK REL=STYLESHEET type='text/css' HREF='800600.css'>"); 

if (document.images) { 
var wp1 = new Image(20,90); wp1.src = 'wipe1.gif'; 
var wp2 = new Image(395,90); wp2.src = 'wipe2.gif'; 
var wp3 = new Image(395,90); wp3.src = 'wipe3.gif'; 
var wp4 = new Image(395,90); wp4.src = 'wipe4.gif'; 

var emerp1x = new Image(99,99); emerp1x.src = 'emerp1.jpg'; 
var emerp1ax = new Image(99,99); emerp1ax.src = 'emerp1a.jpg'; 
var emerp2x = new Image(99,99); emerp2x.src = 'emerp2.jpg'; 
var emerp2ax = new Image(99,99); emerp2ax.src = 'emerp2a.jpg';
var emerp3x = new Image(99,99); emerp3x.src = 'emerp3.jpg'; 
var emerp3ax = new Image(99,99); emerp3ax.src = 'emerp3a.jpg'; 
var emerp4x = new Image(99,99); emerp4x.src = 'emerp4.jpg'; 
var emerp4ax = new Image(99,99); emerp4ax.src = 'emerp4a.jpg';


} 

window.onerror = null;
var bName = navigator.appName;
 var bVer = parseInt(navigator.appVersion);
var NS4 = (bName == "Netscape" && bVer >= 4);
var IE4 = (bName == "Microsoft Internet Explorer" && bVer >= 4);
var NS3 = (bName == "Netscape" && bVer < 4);
var IE3 = (bName == "Microsoft Internet Explorer" && bVer < 4);
var menuActive = 0
var menuOn = 0
var onLayer
var timeOn = null// LAYER SWITCHING CODE
if (NS4 || IE4) {
if (navigator.appName == "Netscape") {
layerStyleRef="layer.";
layerRef="document.layers";
styleSwitch="";
}else{
layerStyleRef="layer.style.";
layerRef="document.all";
styleSwitch=".style";
}
}
// SHOW MENU
function showLayer(layerName){
if (NS4 || IE4) {
if (timeOn != null) {
clearTimeout(timeOn)
hideLayer(onLayer)
}
if (NS4 || IE4) {
eval(layerRef+'["'+layerName+'"]'+styleSwitch+'.visibility="visible"');
} 
onLayer = layerName
}
}// HIDE MENU
function hideLayer(layerName){
if (menuActive == 0) {
if (NS4 || IE4) {
eval(layerRef+'["'+layerName+'"]'+styleSwitch+'.visibility="hidden"');
}
}
}


function  erase() 
{
hideLayer('home');
hideLayer('interior');
hideLayer('exterior');
hideLayer('wallpaper');
hideLayer('powerwashing');
hideLayer('ceilings');
hideLayer('renovations');
hideLayer('paint');
hideLayer('laquer');
hideLayer('epoxy');
hideLayer('baseboards');
hideLayer('decorative');
}


function  wipeopen() {
mytimer1 = window.setTimeout("showLayer('wipe1');",1); 
mytimer2 = window.setTimeout("showLayer('wipe2');",200); 
mytimer3 = window.setTimeout("hideLayer('wipe1');",200); 
mytimer4 = window.setTimeout("showLayer('wipe3');",400); 
mytimer5 = window.setTimeout("showLayer('wipe4');",600); 
mytimer6 = window.setTimeout("hideLayer('wipe4');",800);
mytimer7 = window.setTimeout("erase();",800);
mytimer8 = window.setTimeout("hideLayer('wipe3');",1000);
mytimer9 = window.setTimeout("hideLayer('wipe2');",1200);
mytimer10 = window.setTimeout("showLayer('wipe1');",1200); 


}
function  homex() {
wipeopen();
window.setTimeout("showLayer('home');",800); }

function  interiorx() {
wipeopen();
window.setTimeout("showLayer('interior');",800); }

function  laquerx() {
wipeopen();
window.setTimeout("showLayer('laquer');",800); }

function  epoxyx() {
wipeopen();
window.setTimeout("showLayer('epoxy');",800); }

function  baseboardsx() {
wipeopen();
window.setTimeout("showLayer('baseboards');",800); }

function  decorativex() {
wipeopen();
window.setTimeout("showLayer('decorative');",800); }



function  exteriorx() {
wipeopen();
window.setTimeout("showLayer('exterior');",800); 
}
function  wallpaperx() {
wipeopen();
window.setTimeout("showLayer('wallpaper');",800); 
}
function  powerwashingx() {
wipeopen();
window.setTimeout("showLayer('powerwashing');",800); 
}
function  ceilingsx() {
wipeopen();
window.setTimeout("showLayer('ceilings');",800); 
}
function  renovationsx() {
wipeopen();
window.setTimeout("showLayer('renovations');",800); 
}
function  paintx() {
wipeopen();
window.setTimeout("showLayer('paint');",800); 
}

function  testx() {
setTimeout("showLayer('cartoon2');",400);
setTimeout("showLayer('cartoon3');",600);

setTimeout("showLayer('cartoon4');",800);
setTimeout("showLayer('cartoon5');",3800);
setTimeout("showLayer('cartoon6');",4000);

setTimeout("showLayer('cartoon7');",4200);
setTimeout("showLayer('cartoon8');",7200);
setTimeout("showLayer('cartoon9');",7400);

setTimeout("showLayer('cartoon10');",7600);
setTimeout("showLayer('cartoon11');",10600);
setTimeout("showLayer('cartoon12');",10800);

setTimeout("hideLayer('cartoon12');",11000 );
setTimeout("hideLayer('cartoon11');",11000 );
setTimeout("hideLayer('cartoon10');",11000 );
setTimeout("hideLayer('cartoon9');",11000 );
setTimeout("hideLayer('cartoon8');",11000 );
setTimeout("hideLayer('cartoon7');",11000 );
setTimeout("hideLayer('cartoon6');",11000 );
setTimeout("hideLayer('cartoon5');",11000 );
setTimeout("hideLayer('cartoon4');",11000 );
setTimeout("hideLayer('cartoon3');",11000);
setTimeout("hideLayer('cartoon2');",11000);
}
setInterval('testx();',14000 );




