
//bookmark this site
function bookmarksite(title, url){
if (document.all)
window.external.AddFavorite(url, title);
else if (window.sidebar)
window.sidebar.addPanel(title, url, "")
}

//Tell a Friend

var popUpWin=0;
function tellAFriend(strURL,strLogo,strColor,strTxtColor,strTxtMColor,strTxtCColor,strSubImg,strBGColor,strInvColor,strEmailHdr,strRfrColor)
{
  if(popUpWin)
  {
    if(!popUpWin.closed) popUpWin.close();
  }
  var strsource = document.URL;
  strsource = strsource.replace(/#/,"");
  strsource = strsource.replace(/\?/g,"[que]");
  strsource = strsource.replace(/\&/g,"[amp]");
  strsource = strsource.replace(/\%/g,"[prc]");
  strsource = strsource.replace(/\=/g,"[eql]");
  var strtitle = document.title;
  strtitle = strtitle.replace(/\?/g,"[que]");
  strtitle = strtitle.replace(/\&/g,"[amp]");
  strtitle = strtitle.replace(/\%/g,"[prc]");
  strtitle = strtitle.replace(/\=/g,"[eql]");
  var yeah = "http://72.3.158.71/ver2/tellfriend.asp"
  yeah+='?source='+ strsource +'&strurl=' + strURL +'&logo=' + strLogo + '&color=' + strColor + '&txtcolor=' + strTxtColor + '&txtmcolor=' + strTxtMColor + '&txtccolor=' + strTxtCColor + '&subimg=' + strSubImg + '&bgcolor=' + strBGColor + '&invcolor=' + strInvColor + '&emailhdr=' + strEmailHdr + '&rfrcolor=' + strRfrColor + '&txttitle=' + strtitle;
  popUpWin = open(yeah, 'popUpWin', 'toolbar=no,location=no,directories=no,status=no,menub ar=no,scrollbar=no,resizable=no,copyhistory=yes,width=380,height=595,left=50');
}




