<!--
function buildForm(formfeedback){
var i = formfeedback.subject.selectedIndex;
var ival = formfeedback.subject.options[i].text;
switch(i) {
        case 1: formfeedback.recipient.value = "tmurff@worldvillage.com";
        case 2: formfeedback.recipient.value = "<a href="http://www.thehelpdesk.us">Contact Us</a>";
        case 3: formfeedback.recipient.value = "<a href="http://www.thehelpdesk.us">Contact Us</a>";
        case 4: formfeedback.recipient.value = "staff@dealofday.com";
        case 5: formfeedback.recipient.value = "<a href="http://www.thehelpdesk.us">Contact Us</a>";
        case 6: formfeedback.recipient.value = "scotth@fuzzywolf.com";
        case 7: formfeedback.recipient.value = "Richard.Cunningham@providence.org";
        case 8: formfeedback.recipient.value = "billyates@billyates.com";
        case 9: formfeedback.recipient.value = "gracemi@earthlink.net";
        case 10: formfeedback.recipient.value = "baldguy@baldguyweb.com";
        case 11: formfeedback.recipient.value = "scotth@fuzzywolf.com";
}
return true;
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v3.0
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function goPage(selectlist) {
	theURL = selectlist.options[selectlist.selectedIndex].value
	if (theURL != "") { location.href = theURL }
}

//Pop-under window- By JavaScript Kit
//Credit notice must stay intact for use
//Visit http://javascriptkit.com for this script

//specify page to pop-under
var tpopunder="http://my.tupperware.com/Misc/Parse/outside_link?username=dealofday&change=1&url=http://my.tupperware.com/dealofday&change=1"

//specify popunder window features
//set 1 to enable a particular feature, 0 to disable
var twinfeatures="width=50,height=50,status=1,directories=0"

//Pop-under only once per browser session? (0=no, 1=yes)
//Specifying 0 will cause popunder to load every time page is loaded
var tonce_per_session=0

///No editing beyond here required/////

function get_cookie(Name) {
  var search = Name + "="
  var returnvalue = "";
  if (document.cookie.length > 0) {
    offset = document.cookie.indexOf(search)
    if (offset != -1) { // if cookie exists
      offset += search.length
      // set index of beginning of value
      end = document.cookie.indexOf(";", offset);
      // set index of end of cookie value
      if (end == -1)
         end = document.cookie.length;
      returnvalue=unescape(document.cookie.substring(offset, end))
      }
   }
  return returnvalue;
}

function tloadornot(){
if (get_cookie('tpopunder')==''){
tloadpopunder()
document.cookie="tpopunder=yes"
}
}

function tloadpopunder(){
win2=window.open(tpopunder,"",twinfeatures)
setTimeout("win2.close()",10000);
win2.blur()
window.focus()
}
//-->
