if (document.images) {    nav1on  = new Image(); nav1on.src  = "image/news_and_events_over.gif";    nav1off = new Image(); nav1off.src = "image/news_and_events.gif";    nav2on  = new Image(); nav2on.src  = "image/gallery_over.gif";    nav2off = new Image(); nav2off.src = "image/gallery.gif";    nav3on  = new Image(); nav3on.src  = "image/about_over.gif";    nav3off = new Image(); nav3off.src = "image/about.gif";    nav4on  = new Image(); nav4on.src  = "image/contact_over.gif";    nav4off = new Image(); nav4off.src = "image/contact.gif";    nav5on  = new Image(); nav5on.src  = "image/email2_over.gif";    nav5off = new Image(); nav5off.src = "image/email2.gif";    nav6on  = new Image(); nav6on.src  = "image/email_address_over.gif";    nav6off = new Image(); nav6off.src = "image/email_address.gif";    nav7on  = new Image(); nav7on.src  = "image/sign_guest_book2_over.gif";    nav7off = new Image(); nav7off.src = "image/sign_guest_book2.gif";    nav8on  = new Image(); nav8on.src  = "image/shop_over.gif";    nav8off = new Image(); nav8off.src = "image/shop.gif";    nav9on  = new Image(); nav9on.src  = "image/vessels_over.gif";    nav9off = new Image(); nav9off.src = "image/vessels.gif";    nav10on  = new Image(); nav10on.src  = "image/vases_over.gif";    nav10off = new Image(); nav10off.src = "image/vases.gif";    nav11on  = new Image(); nav11on.src  = "image/for_the_kitchen_over.gif";    nav11off = new Image(); nav11off.src = "image/for_the_kitchen.gif";    nav12on  = new Image(); nav12on.src  = "image/gift_certificates_over.gif";    nav12off = new Image(); nav12off.src = "image/gift_certificates.gif";    nav13on  = new Image(); nav13on.src  = "image/ordering_shipping_over.gif";    nav13off = new Image(); nav13off.src = "image/ordering_shipping.gif";    nav14on  = new Image(); nav14on.src  = "image/box_open.gif";    nav14off = new Image(); nav14off.src = "image/box_close.gif";    	target1on  = new Image(); target1on.src  = "image/line_over.gif"	target1off = new Image(); target1off.src = "image/line.gif"	target2on  = new Image(); target2on.src  = "image/line_over.gif"	target2off = new Image(); target2off.src = "image/line.gif"	target3on  = new Image(); target3on.src  = "image/line_over.gif"	target3off = new Image(); target3off.src = "image/line.gif"	target4on  = new Image(); target4on.src  = "image/line_over.gif"	target4off = new Image(); target4off.src = "image/line.gif"	target5on  = new Image(); target5on.src  = "image/email2_slide_on.gif"	target5off = new Image(); target5off.src = "image/email2_slide_off.gif"		target7on  = new Image(); target7on.src  = "image/sign_guest_book2_slide_on.gif"	target7off = new Image(); target7off.src = "image/sign_guest_book2_slide_off.gif"		target8on  = new Image(); target8on.src  = "image/line_over.gif"	target8off = new Image(); target8off.src = "image/line.gif"	target9on  = new Image(); target9on.src  = "image/line_over.gif"	target9off = new Image(); target9off.src = "image/line.gif"	target10on  = new Image(); target10on.src  = "image/coming_soon_over.gif"	target10off = new Image(); target10off.src = "image/coming_soon.gif"	target11on  = new Image(); target11on.src  = "image/coming_soon_over.gif"	target11off = new Image(); target11off.src = "image/coming_soon.gif"	target12on  = new Image(); target12on.src  = "image/line_over.gif"	target12off = new Image(); target12off.src = "image/line.gif"	target13on  = new Image(); target13on.src  = "image/line_over.gif"	target13off = new Image(); target13off.src = "image/line.gif"}function rollOn(img1,img2,text){    window.status = text;	if (document.images) {		document[img1].src=eval(img1 + "on.src");		document[img2].src=eval(img2 + "on.src");    }}function rollOff(img1,img2){    window.status = "";		if (document.images) {		document[img1].src=eval(img1 + "off.src");		document[img2].src=eval(img2 + "off.src");    }}function openwindow(theURL,width,height) {    window.open(theURL,'winName','width=' + width + ',height=' + height + ',resizable=0,scrollbars=0,menubar=0,toolbar=0,location=0,directories=0,status=0');}function openwindow2(theURL,width,height) {    window.open(theURL,'winName','width=' + width + ',height=' + height + ',resizable=0,scrollbars=1,menubar=0,toolbar=0,location=0,directories=0,status=0');}function spamless(codelist, description, atagattr) {    var thiscode, thischar;    var CodeString = new String(codelist);    var CodedArray = CodeString.split('|');    var L = CodedArray.length;    var AddrDecoded = "";    for (var x=0; x < L; x++) {        thiscode = CodedArray[x];        thischar = String.fromCharCode( thiscode - L );        AddrDecoded += thischar;    }    atagattr = atagattr ? ' ' + atagattr : '';    if (!description) description = AddrDecoded; // if no description supplied, display email address    var strOutput = '<a href="mailto:'+AddrDecoded+'"' + atagattr+'>' + description + '</a>';    document.write(strOutput);}<!-- BEGIN PAYPAL JS      Hide JS source from HTML validatorsfunction Dollar (val) {  // force to valid dollar amountvar str,pos,rnd=0;  if (val < .995) rnd = 1;  // for old Netscape browsers  str = escape (val*1.0 + 0.005001 + rnd);  // float, round, escape  pos = str.indexOf (".");  if (pos > 0) str = str.substring (rnd, pos + 3);  return str;}function ReadForm (obj1) { // process un-named selectsvar i,amt,des,obj,pos,val;  amt = obj1.baseamt.value*1.0;       // base amount  des = obj1.basedes.value;           // base description  for (i=0; i<obj1.length; i++) {     // run entire form    obj = obj1.elements[i];           // a form element    if (obj.type == "select-one" &&   // just get selects        obj.name == "") {             // must be un-named      pos = obj.selectedIndex;        // which option selected      val = obj.options[pos].value;   // selected value      pos  = val.indexOf ("@");       // price set?      if (pos >= 0) amt = val.substring (pos + 1)*1.0;      pos  = val.indexOf ("+");       // price increment?      if (pos >= 0) amt = amt + val.substring (pos + 1)*1.0;      pos  = val.indexOf ("%");       // percent change?      if (pos >= 0) amt = amt + (amt * val.substring (pos + 1)/100.0);      if (des.length == 0) des = val;      else des = des + ", " + val;    // accumulate value    }  }  obj1.item_name.value = des;  obj1.amount.value = Dollar (amt);  if (obj1.tot) obj1.tot.value = "$" + Dollar (amt);}
