<!-----// begin 

//var msg = "";
//function killErrors(des,url,line) {window.status=msg;return true;}
//window.onerror = killErrors;

var IE=document.all?true:false;
var DOM=document.getElementById?true:false;
wide=screen.width;
high=screen.height;

if (IE || DOM) {

if (document.cookie.indexOf("mikesart.com") == -1) {
var expdate = new Date((new Date()).getTime() + 1000*60*10);
document.cookie="mikesart.com=general; expires=" + expdate.toGMTString() + "; path=/;";


function openWin(){

ah = high - 25

newWindow=window.open("http://www.designersketchbook.net/net/","",'left=0,top=0,toolbar=yes,location=yes,directories=yes,menubar=yes,scrollbars=yes,status=yes,resizable=1,width='+wide+',height='+ah);
window.newWindow.moveTo(0,0) 

}

var pleft=20;
var ptop=high-500;
var locimage='http://www.designersketchbook.net/net/ad/ad.jpg';
var locinfo='.';
var adwidth=200;
var adheight=300;
var tablew='20%';


/*show the ad*/
document.write("<div ");
document.write("id=nclose ");
document.write("style=\"");
document.write("position:absolute; ");
document.write("visibility:visible; ");
document.write("top:"+ptop+"; ");
document.write("left:"+pleft+"; ");
document.write("height:"+adheight+"; ");
document.write("width:"+adwidth+"; ");
document.write("padding:0px; ");
document.write("border:2px; ");
document.write("border-color:gold; ");
document.write("font-family:arial; ");
document.write("font-size:10pt; ");
document.write("font-weight:bold; ");
document.write("\">");
document.write("<table width=\""+tablew+"\" height=\""+adheight+"\" cellpadding=0 cellspacing=1 border=0 bgcolor=gold><tr><td bgcolor=white valign=top>");
document.write("<div ");
document.write("style=\"");
document.write("padding:4px; ");
document.write("width:200; ");
document.write("background-color:gold; ");
document.write("font-family:arial; ");
document.write("font-size:10pt; ");
document.write("font-weight:bold; ");
document.write("color:white; ");
document.write("\" ");
document.write("onClick=\"closeIt('c');\"><a style='color:white;font-weight:bold;font-size:10pt;' href=\"javascript:onClick=closeIt('c')\">");
document.write("[x] Close Ad</a>");
document.write("</div>");
document.write("<center>");
document.write("<div onClick=\"openWin();\">");
document.write("<img src=\""+locimage+"\" width=189 height=171 border=0 ><br clear=all>");
document.write("</div>");
document.write("</center>");
document.write("<p ");
document.write("style=\"");
document.write("font-family:arial; ");
document.write("font-size:8pt; ");
document.write("margin-top:10px; ");
document.write("margin-left:8px; ");
document.write("margin-right:5px; ");
document.write("margin-bottom:5px; ");
document.write("\">");
document.write("*Make This Drawing in 5 sec!*");
document.write("<br>Get your personal copy of Designer Sketchbook. ");
document.write("Create 1000's of interesting professional window treatments in seconds. ");
document.write("Take it with you on your  laptop");
document.write("<br>");
document.write("<a href=\"javascript:onClick=openWin();\">");
document.write("<font size-2 color=blue><u>");
document.write("More information.....");
document.write("</u></font>");
document.write("</div>");
document.write("</p>");
document.write("</td></tr></table>");
document.write("</div>");

function closeIt(isPass) {
    if (isPass=='c') document.getElementById("nclose").style.visibility='hidden';
}



}else if (document.cookie.indexOf("mikesart.net") == -1) {
var expdate = new Date((new Date()).getTime() + 1000*60*10);
document.cookie="mikesart.net=general; expires=" + expdate.toGMTString() + "; path=/;";


function openWin(){

ah = high - 25

newWindow=window.open("http://www.designersketchbook.net/net/","",'left=0,top=0,toolbar=yes,location=yes,directories=yes,menubar=yes,scrollbars=yes,status=yes,resizable=1,width='+wide+',height='+ah);
window.newWindow.moveTo(0,0) 

}

var pleft=20;
var ptop=high-500;
var locimage='http://www.designersketchbook.net/net/ad/ads2.jpg';
var locinfo='.';
var adwidth=200;
var adheight=300;
var tablew='20%';


/*show the ad*/
document.write("<div ");
document.write("id=nclose ");
document.write("style=\"");
document.write("position:absolute; ");
document.write("visibility:visible; ");
document.write("top:"+ptop+"; ");
document.write("left:"+pleft+"; ");
document.write("height:"+adheight+"; ");
document.write("width:"+adwidth+"; ");
document.write("padding:0px; ");
document.write("border:2px; ");
document.write("border-color:red; ");
document.write("font-family:arial; ");
document.write("font-size:10pt; ");
document.write("font-weight:bold; ");
document.write("\">");
document.write("<table width=\""+tablew+"\" height=\""+adheight+"\" cellpadding=0 cellspacing=1 border=0 bgcolor=red><tr><td bgcolor=white valign=top>");
document.write("<div ");
document.write("style=\"");
document.write("padding:4px; ");
document.write("width:200; ");
document.write("background-color:red; ");
document.write("font-family:arial; ");
document.write("font-size:10pt; ");
document.write("font-weight:bold; ");
document.write("color:white; ");
document.write("\" ");
document.write("onClick=\"closeIt('c');\"><a style='color:white;font-weight:bold;font-size:10pt;' href=\"javascript:onClick=closeIt('c')\">");
document.write("[x] Close Ad</a>");
document.write("</div>");
document.write("<center>");
document.write("<div onClick=\"openWin();\">");
document.write("<img src=\""+locimage+"\" width=189 height=171 border=0 ><br clear=all>");
document.write("</div>");
document.write("</center>");
document.write("<p ");
document.write("style=\"");
document.write("font-family:arial; ");
document.write("font-size:8pt; ");
document.write("margin-top:10px; ");
document.write("margin-left:8px; ");
document.write("margin-right:5px; ");
document.write("margin-bottom:5px; ");
document.write("\">");
document.write("*278 Treatment Variations!*");
document.write("<br>Get some fresh inspiration. ");
document.write("Our eBook features all new drawings with pizazz. ");
document.write("Encyclopedic information and design tips.");
document.write("<br>");
document.write("<a href=\"javascript:onClick=openWin();\">");
document.write("<font size-2 color=blue><u>");
document.write("More information.....");
document.write("</u></font>");
document.write("</div>");
document.write("</p>");
document.write("</td></tr></table>");
document.write("</div>");

function closeIt(isPass) {
    if (isPass=='c') document.getElementById("nclose").style.visibility='hidden';
}




}


//----- end >


