<!-- hide script from old browsers 

popupVisible=false;
function popUp(ps_URL)
{popupWindowHandle=window.open(
	ps_URL,'deSolaPopup','toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=0,width=455,height=387,left = 0,top = 0');
	popupVisible=true;}

function writeMarquee() {
document.write("<marquee scrolldelay='250' scrollamount='20'><strong>BEAUTIFUL SHOWROOM&nbsp;&nbsp;&curren;&nbsp;&nbsp;WE MEASURE &amp; INSTALL&nbsp;&nbsp;&curren;&nbsp;&nbsp;GUARANTEED NOT TO LEAK</strong></marquee>");
}

function open_praise(){window.open('../objects/craftsmanLTR.pdf', 'praise', 'left=0,top=0,menubar=0,location=0,scrollbars=1,resizable=1,status=0') ;}

function open_contact(){window.open('/contact.html', 'contact', 'left=0,top=0,menubar=0,location=0,scrollbars=1,resizable=1,status=0,width=444,height=430') ;}
function open_linking(){window.open('/linking.html', 'linking', 'left=0,top=0,menubar=0,location=0,scrollbars=1,resizable=1,status=0,width=444,height=430') ;}

function checkform() {
  var wherecheck = 1;
  for (i=0;i<1;i++)
    if (document.form1.name.value == '') {alert ('Please enter your name');}
    else if (!/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,4})+$/.test(document.form1.email.value)) {alert ('Please enter a valid email address');}
    else if (document.form1.phone.value == '') {alert ('Please enter your phone number');}
    else if (document.form1.subject.value == '') {alert ('Please select your reason for contact');}
    else if (document.form1.message.value == '') {alert ('Please enter your message');}
    else {document.form1.submit();}
}


function returnDate() {
    var this_month = new Array(12);
    this_month[0]  = "January";
    this_month[1]  = "February";
    this_month[2]  = "March";
    this_month[3]  = "April";
    this_month[4]  = "May";
    this_month[5]  = "June";
    this_month[6]  = "July";
    this_month[7]  = "August";
    this_month[8]  = "September";
    this_month[9]  = "October";
    this_month[10] = "November";
    this_month[11] = "December";

    var this_day = new Array(7);
    this_day[0]  = "Sunday";
    this_day[1]  = "Monday";
    this_day[2]  = "Tuesday";
    this_day[3]  = "Wednesday";
    this_day[4]  = "Thursday";
    this_day[5]  = "Friday";
    this_day[6]  = "Saturday";

    var today = new Date();
    var day   = today.getDate();
    var month = today.getMonth();
    var year  = today.getYear();
    var weekday = today.getDay();
    if (year< 1900) 
      year += 1900;
    SrcStr = (this_day[weekday]+", "+day+" "+this_month[month]+", "+year);
    document.write(SrcStr);	  
  }



// end hiding script from old browsers -->