<!-- hide from old browsers

self.name = "main";
function openWin(width, height, imagewidth, imageheight, pic) {
        picWin = open("", "popup", "width=" + width + ",height=" + height + ",toolbar=no,directories=no,status=no,location=no,scrollbars=yes,resizable=no,menubar=no");
        picWin.document.open();
        picWin.document.clear();
        picWin.document.writeln("<html><head><title>Clare Florist</title><LINK REL=\"stylesheet\" TYPE=\"text/css\" HREF=\"clareflorist.css\"></head><body bgcolor=\"#FFFFFF\" leftmargin=\"0\" topmargin=\"0\" marginwidth=\"0\" marginheight=\"0\"><table width=\"100%\" height=\"100%\" cellpadding=0 cellspacing=0 border=0><tr><td valign=\"middle\" align=\"center\"><img src=\"prodimages/" + pic + "\" width=\"" + imagewidth + "\" height=\"" + imageheight + "\" alt=\"enlarged image\"></td></tr><tr><td align=\"center\" class=\"enlargelink\"><font size=\"2\" face=\"Verdana,Helvetica,Arial,MS Sans Serif\" color=\"#000000\"><a href=\"#\" onClick='self.close()'>close this window</a></font></td></tr></table></body></html>");
        picWin.document.close();
}

var days = new Array();
days[0] = "Sunday";
days[1] = "Monday";
days[2] = "Tuesday";
days[3] = "Wednesday";
days[4] = "Thursday";
days[5] = "Friday";
days[6] = "Saturday";

var months = new Array();
months[0] = "January";
months[1] = "February";
months[2] = "March";
months[3] = "April";
months[4] = "May";
months[5] = "June";
months[6] = "July";
months[7] = "August";
months[8] = "September";
months[9] = "October";
months[10] = "November";
months[11] = "December";


var url="http://www.clareflorist.co.uk"
var title="Clare Florist - flower delivery without the fuss"
function addfave() {
if (document.all)
window.external.AddFavorite(url,title)}

function changeto(highlightcolor){
source=event.srcElement
if (source.tagName=="TR"||source.tagName=="TABLE")
return
while(source.tagName!="TR")
source=source.parentElement
if (source.style.backgroundcolor!=highlightcolor&&source.id!="ignore")
source.style.backgroundcolor=highlightcolor
}

function changeback(originalcolor){
if (event.fromElement.contains(event.toElement)||source.contains(event.toElement)||source.id=="ignore")
return
if (event.toElement!=source)
source.style.backgroundcolor=originalcolor
}

function changeImage(newImg) {
	document.ProdID.src = "products/" + newImg + ".jpg";
}

function noimgnormal(imgPath) {
	eval(imgPath).src = "products/noimg.jpg";
}

function noimgsmall(imgPath) {
	eval(imgPath).src = "products/noimgt.jpg";
}


self.name = "main";
function openWin(width, height, imagewidth, imageheight, pic) {
        picWin = open("", "popup", "width=" + width + ",height=" + height + ",toolbar=no,directories=no,status=no,location=no,scrollbars=yes,resizable=no,menubar=no");
        picWin.document.open();
        picWin.document.clear();
        picWin.document.writeln("<html><head><title>Clare Florist</title><LINK REL=\"stylesheet\" TYPE=\"text/css\" HREF=\"clareflorist.css\"></head><body bgcolor=\"#FFFFFF\" leftmargin=\"0\" topmargin=\"0\" marginwidth=\"0\" marginheight=\"0\"><table width=\"100%\" height=\"100%\" cellpadding=0 cellspacing=0 border=0><tr><td valign=\"middle\" align=\"center\"><img src=\"flowers/" + pic + "p.jpg\" width=\"" + imagewidth + "\" height=\"" + imageheight + "\" alt=\"enlarged image\"></td></tr><tr><td align=\"center\" class=\"enlargelink\"><font size=\"2\" face=\"Verdana,Helvetica,Arial,MS Sans Serif\" color=\"#000000\"><a href=\"#\" onClick='self.close()'>close this window</a></font></td></tr></table></body></html>");
        picWin.document.close();
}


function changeImage(newImg) {
	$(".mainimage").attr("src", newImg);
}

function toggleNav(theid) {
	if (document.getElementById(theid)) {
		if (document.getElementById(theid).style.display == "none") {
			document.getElementById(theid).style.display = "block";
		}else{
			document.getElementById(theid).style.display = "none";
		}
	}
	return false;
}

// - 

// - end hiding -->

