// JavaScript 
//  <script language="javascript">

function setBookmark(url,str){
if(str=='')str=url;
if (document.all)window.external.AddFavorite(url,str);
else alert('Press CTRL and D to add a bookmark to:\n"'+str+'".');
} 

  function displayrestrictions(param3,param4)
  {     

  	var couponcode = param3;
  	var restrictions = param4;
    if (couponcode != 'coupon' && couponcode != 'n/a')
	{
  	OpenWindow=window.open("", "newwin", "height=350, width=450,toolbar=no,scrollbars="+scroll+",menubar=no");
	OpenWindow.document.write("<TITLE>Use this Coupon Code<\/TITLE>");
	OpenWindow.document.write("<BODY BGCOLOR=#ffffcc>");
	OpenWindow.document.write("<table><tr><td style='border: 2px dashed #808080'>");
	OpenWindow.document.write("<center>");
	OpenWindow.document.write("Enter This Coupon Code At Checkout:");
	OpenWindow.document.write("<p>");
	OpenWindow.document.write("<strong>");
	OpenWindow.document.write(couponcode);
	OpenWindow.document.write("<\/strong>");
	OpenWindow.document.write("<\/p>");
	OpenWindow.document.write("<strong>");
	OpenWindow.document.write("Restrictions: ");
	OpenWindow.document.write("<\/strong>");
	OpenWindow.document.write(restrictions);
	OpenWindow.document.write("<p>");
	OpenWindow.document.write("<\/p>");
	OpenWindow.document.write("<br>");
	OpenWindow.document.write("<\/td><\/tr><\/table>");
	OpenWindow.document.write("<\/BODY>");
	OpenWindow.document.write("<\/HTML>");
	OpenWindow.document.close();
	OpenWindow.focus();
	}

    if (couponcode == 'coupon' || couponcode == 'n/a')
	{
  	OpenWindow=window.open("", "newwin", "height=350, width=450,toolbar=no,scrollbars="+scroll+",menubar=no");
	OpenWindow.document.write("<TITLE>Use this Coupon Code<\/TITLE>");
	OpenWindow.document.write("<BODY BGCOLOR=#ffffcc>");
	OpenWindow.document.write("<table><tr><td style='border: 2px dashed #808080'>");
	OpenWindow.document.write("<center>");
	OpenWindow.document.write("Coupon Code Automatically Applied During Checkout");
	OpenWindow.document.write("<br>");
	OpenWindow.document.write("<br>");
	OpenWindow.document.write("<strong>");
	OpenWindow.document.write("Restrictions: ");
	OpenWindow.document.write("<\/strong>");
	OpenWindow.document.write(restrictions);
	OpenWindow.document.write("<p>");
	OpenWindow.document.write("<\/td><\/tr><\/table>");
	OpenWindow.document.write("<\/BODY>");
	OpenWindow.document.write("<\/HTML>");
	OpenWindow.document.close();
	OpenWindow.focus();
	}
	
  }  
  function displaycoupon(param2)
  {     

  	var couponcode = param2;
    if (couponcode != 'coupon' && couponcode != 'n/a')
	{
  	OpenWindow=window.open("", "newwin", "height=150, width=250,toolbar=no,scrollbars="+scroll+",menubar=no");
	OpenWindow.document.write("<TITLE>Use this Coupon Code<\/TITLE>");
	OpenWindow.document.write("<BODY BGCOLOR=#ffffcc>");
	OpenWindow.document.write("<table><tr><td style='border: 2px dashed #808080'>");
	OpenWindow.document.write("<center>");
	OpenWindow.document.write("Enter This Coupon Code At Checkout:");
	OpenWindow.document.write("<p>");
	OpenWindow.document.write("<strong>");
	OpenWindow.document.write(couponcode);
	OpenWindow.document.write("<\/strong>");
	OpenWindow.document.write("<\/p>");
	OpenWindow.document.write("<br>");
	OpenWindow.document.write("<\/td><\/tr><\/table>");
	OpenWindow.document.write("<\/BODY>");
	OpenWindow.document.write("<\/HTML>");
	OpenWindow.document.close();
	OpenWindow.focus();
	}

    if (couponcode == 'coupon' || couponcode == 'n/a')
	{
  	OpenWindow=window.open("", "newwin", "height=150, width=250,toolbar=no,scrollbars="+scroll+",menubar=no");
	OpenWindow.document.write("<TITLE>Coupon Code<\/TITLE>");
	OpenWindow.document.write("<BODY BGCOLOR=#ffffcc>");
	OpenWindow.document.write("<table><tr><td style='border: 2px dashed #808080'>");
	OpenWindow.document.write("<center>");
	OpenWindow.document.write("Coupon Code Automatically Applied During Checkout:");
	OpenWindow.document.write("<\/td><\/tr><\/table>");
	OpenWindow.document.write("<\/BODY>");
	OpenWindow.document.write("<\/HTML>");
	OpenWindow.document.close();
	OpenWindow.focus();
	}
	
  }  
  function trackcoupon(param2)
  {     

  	var couponcode = param2;
    if (couponcode != 'coupon' && couponcode != 'n/a')
	{
  	OpenWindow=window.open("", "newwin", "height=150, width=250,toolbar=no,scrollbars="+scroll+",menubar=no");
	OpenWindow.document.write("<TITLE>Use this Coupon Code<\/TITLE>");
	OpenWindow.document.write("<BODY BGCOLOR=#ffffcc>");
	OpenWindow.document.write("<table><tr><td style='border: 2px dashed #808080'>");
	OpenWindow.document.write("<center>");
	OpenWindow.document.write("Enter This Coupon Code At Checkout:");
	OpenWindow.document.write("<p>");
	OpenWindow.document.write("<strong>");
	OpenWindow.document.write(couponcode);
	OpenWindow.document.write("<\/strong>");
	OpenWindow.document.write("<\/p>");
	OpenWindow.document.write("<br>");
	OpenWindow.document.write("<\/td><\/tr><\/table>");
	OpenWindow.document.write("<script>");
	OpenWindow.document.write("if(typeof(urchinTracker)!='function')document.write('<sc'+'ript src=\"'+");
	OpenWindow.document.write("'http'+(document.location.protocol=='https:'?'s:\/\/ssl':':\/\/www')+");
	OpenWindow.document.write("'.google-analytics.com\/urchin.js'+'\"><\/sc'+'ript>')");
	OpenWindow.document.write("<\/script>");
	OpenWindow.document.write("<script>");
	OpenWindow.document.write("  _uacct = 'UA-2048363-2';");
	OpenWindow.document.write("  urchinTracker(\"\/2041938978\/goal\");");
	OpenWindow.document.write("<\/script>");
	OpenWindow.document.write("<\/BODY>");
	OpenWindow.document.write("<\/HTML>");
	OpenWindow.document.close();
	OpenWindow.focus();
	}

    if (couponcode == 'coupon' || couponcode == 'n/a')
	{
  	OpenWindow=window.open("", "newwin", "height=150, width=250,toolbar=no,scrollbars="+scroll+",menubar=no");
	OpenWindow.document.write("<TITLE>Coupon Code<\/TITLE>");
	OpenWindow.document.write("<BODY BGCOLOR=#ffffcc>");
	OpenWindow.document.write("<table><tr><td style='border: 2px dashed #808080'>");
	OpenWindow.document.write("<center>");
	OpenWindow.document.write("Coupon Code Automatically Applied During Checkout:");
	OpenWindow.document.write("<\/td><\/tr><\/table>");
	OpenWindow.document.write("<\/BODY>");
	OpenWindow.document.write("<\/HTML>");
	OpenWindow.document.close();
	OpenWindow.focus();
	}
	
  }  
  
  function displaytext(yourtext)
  {
     window.status=yourtext;
  }


//  <script>

