<!--

function getCookieVal (offset) {
  var endstr = document.cookie.indexOf (";", offset);
  if (endstr == -1)
    endstr = document.cookie.length;
  return unescape(document.cookie.substring(offset, endstr));
}


function GetCookie (name) {
  var arg = name + "=";
  var alen = arg.length;
  var clen = document.cookie.length;
  var i = 0;
  while (i < clen) {
    var j = i + alen;
    if (document.cookie.substring(i, j) == arg)
      return getCookieVal (j);
    i = document.cookie.indexOf(" ", i) + 1;
    if (i == 0) break;
  }
  return null;
}

function SetCookie(name,value) {
	var mycookie=name+"="+escape(value)+";path=/";
	document.cookie=mycookie;
}


function DeleteCookie (name,path,domain) {
  if (GetCookie(name)) {
    document.cookie = name + "=" +
      ((path) ? "; path=" + path : "") +
      ((domain) ? "; domain=" + domain : "") +
      "; expires=Thu, 01-Jan-70 00:00:01 GMT";
  }
}

function cmd(url) {
	url = url + ".php";
	document.location.href=url; 
}

function lcl_cmd(url) {
	url = "http://www.hollandavenueflowers.com/srcs/"+ url + ".php";
	document.location.href=url; 
}
function PolicyPopup()
{
	var url = "http://www.hollandavenueflowers.com/srcs/substitution.php";
	var winleft = 0;
	var wintop = 0;
	var width = 450;
	var height = 350;
	var winprops = 'height='+height+',width='+width+',top='+wintop+',left='+winleft+',resizable=yes, scrollbars=yes';
	var win = window.open(url, 'win', winprops);
}

function view_(url) {
	var windowObjectReference;
    var tmp;
	tmp = "http://www.hollandavenueflowers.com/srcs/subdir/" + url + ".php";
    windowObjectReference = window.open(tmp, "", "height=400,width=600,menubar=no,location=no,resizable=no,scrollbars=no,status=no"); 
}

function view(url) {
	var windowObjectReference;
    var tmp;
	tmp = "http://www.hollandavenueflowers.com/srcs/subdir/" + url + ".html";
    windowObjectReference = window.open(tmp, "", "height=400,width=600,menubar=no,location=no,resizable=no,scrollbars=no,status=no"); 
}

function viewjpg(choice,url) {
	var windowObjectReference;
    var tmp;
    var tmp_string;
    tmp = "http://www.hollandavenueflowers.com/imgs/" + url + ".jpg";
    switch ( choice )
		{
    	case 1:
				tmp_string = "height=350,width=350,menubar=no,location=no,resizable=no,scrollbars=no,status=no";
			break;
			case 2:
				tmp_string = "height=400,width=460,menubar=no,location=no,resizable=no,scrollbars=no,status=no";
			break;
		}
		windowObjectReference = window.open(tmp, "", tmp_string); 
}

function vw(choice, url) {
	var tmp;
	var tmp_height;
	var tmp_width;
	var tmp_string;
		
	tmp = "http://www.hollandavenueflowers.com/srcs/subdir/" + url + ".html";
	switch ( choice )
	{
		case 1:
			tmp_string = "height=400,width=600,menubar=no,location=no,resizable=no,scrollbars=no,status=no";
		break;
		case 2:
			tmp_string= "height=440, width=580, menubar=no,location=no,resizable=no,scrollbars=no,status=no";
		break;
		case 3:
			tmp_string= "height=700, width=1024, menubar=no,location=no,resizable=no,scrollbars=yes,status=no";
		break;
		case 4:
					tmp_string= "height=475, width=510, menubar=no,location=no,resizable=no,scrollbars=no,status=no";
		break;
		case 5:
					tmp_string= "height=475, width=485, menubar=no,location=no,resizable=no,scrollbars=no,status=no";
		break;
		case 6:
					tmp_string= "height=475, width=365, menubar=no,location=no,resizable=no,scrollbars=no,status=no";
		break;
		case 7:
					tmp_string= "height=475, width=440, menubar=no,location=no,resizable=no,scrollbars=no,status=no";
		break;
		case 8:
					tmp_string= "height=475, width=450, menubar=no,location=no,resizable=no,scrollbars=no,status=no";
		break;
		case 9:
					tmp_string= "height=475, width=390, menubar=no,location=no,resizable=no,scrollbars=no,status=no";
		break;
		case 10:
					tmp_string= "height=475, width=330, menubar=no,location=no,resizable=no,scrollbars=no,status=no";
		break;
		case 11:
					tmp_string= "height=475, width=355, menubar=no,location=no,resizable=no,scrollbars=no,status=no";
		break;
		case 12:
					tmp_string= "height=475, width=525, menubar=no,location=no,resizable=no,scrollbars=no,status=no";
		break;
		case 13:
					tmp_string= "height=475, width=275 menubar=no,location=no,resizable=no,scrollbars=no,status=no";
		break;
		case 14:
					tmp_string= "height=320, width=375 menubar=no,location=no,resizable=no,scrollbars=no,status=no";
		break;
		case 15:
					tmp_string= "height=400, width=355 menubar=no,location=no,resizable=no,scrollbars=no,status=no";
		break;
		case 16:
					tmp_string= "height=400, width=530 menubar=no,location=no,resizable=no,scrollbars=no,status=no";
		break;
		case 17:
					tmp_string= "height=475, width=300 menubar=no,location=no,resizable=no,scrollbars=no,status=no";
		break;
		case 18:
					tmp_string= "height=430, width=600 menubar=no,location=no,resizable=no,scrollbars=no,status=no";
		break;
		case 19:
					tmp_string= "height=355, width=525, menubar=no,location=no,resizable=no,scrollbars=no,status=no";
		break;
		case 20:
			  	tmp_string= "height=350,width=350,menubar=no,location=no,resizable=no,scrollbars=no,status=no"; 
		break;
		case 21:
			tmp_string = "height=400,width=650,menubar=no,location=no,resizable=no,scrollbars=no,status=no";
		break;
		case 22:
					tmp_string= "height=400, width=415 menubar=no,location=no,resizable=no,scrollbars=no,status=no";
		case 23:
					tmp_string= "height=500, width=700 menubar=no,location=no,resizable=no,scrollbars=no,status=no";
		break;		
	}
	
    windowObjectReference = window.open(tmp, "", tmp_string); 
}

function LargerImagePopUp(id)
{
	var url = "http://www.hollandavenueflowers.com/srcs/subdir/" + id + ".html";
	var width = 600;
	var height = 550;
	var winleft = 0;
	var wintop = 0;
	var winprops = 'height='+height+',width='+width+',top='+wintop+',left='+winleft+',scrollbars=yes';
	var win = window.open(url, 'win', winprops);
	//return false;
}

function LargerImagePopUp_(id)
{
	var url = "http://www.hollandavenueflowers.com/srcs/subdir/" + id + ".html";
	var width = 600;
	var height = 550;
	var winleft = 0;
	var wintop = 0;
	var winprops = 'height='+height+',width='+width+',top='+wintop+',left='+winleft+',scrollbars=yes';
	var win = window.open(url, 'win', winprops);
	//return false;
} 
function LargerImagePopUp2(id)
{
	var url = "http://www.hollandavenueflowers.com/srcs/subdir/" + id + ".html";
	var width = 500;
	var height = 450;
	var winleft = 0;
	var wintop = 0;
	var winprops = 'height='+height+',width='+width+',top='+wintop+',left='+winleft+',scrollbars=yes';
	var win = window.open(url, 'win', winprops);
	//return false;
}

				function cStyle(e, theColor) {
					if (document.all) e.style.color = theColor;
				}

//-->