 
/***********************************************
*  
* Search Function
*  
***********************************************/

function SearchRtn()
   {
      if (document.SearchForm.tag.value != " Best results use 1 or 2 words")
         {
           top.window.location.href = "/?tag=" + document.SearchForm.tag.value
         }
   }



function onEnter( evt, frm ) {
var keyCode = null;

if( evt.which ) {
keyCode = evt.which;
} else if( evt.keyCode ) {
keyCode = evt.keyCode;
}
if( 13 == keyCode ) {
frm.btnSearch.click();
return false;
}
return true;
}



function onEnterZipCode( evt, frm ) {
var keyCode = null;

if( evt.which ) {
keyCode = evt.which;
} else if( evt.keyCode ) {
keyCode = evt.keyCode;
}
if( 13 == keyCode ) {
LocateRtn();
return false;
}
return true;
}


function ClearSearch()
   {
      if (document.SearchForm.tag.value == " Best results use 1 or 2 words")
         {
           document.SearchForm.tag.value = "" ;
         }
   } 
   
  

/***********************************************
* Bookmark site script- © Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
***********************************************/


function bookmarksite()
   {
     var title = document.title ; 
     var url = window.location.href ;

     if (document.all)// ie
        {
         window.external.AddFavorite(url, title);
        }
     else
        {
         if (window.opera && window.print) // opera
            { 
   	          var elem = document.createElement('a');
  	          elem.setAttribute('href',url);
	          elem.setAttribute('title',title);
      	      elem.setAttribute('rel','sidebar');
	          elem.click();
            } 
         else
            {
             if (window.sidebar) // firefox
                {
        	     window.sidebar.addPanel(title, url, "");
                }
            }
        }
    }





/***********************************************
*  
* Opt In
*  
***********************************************/
 
 
 function FreeRtn()
 
    {
 
      if (document.FormFree.name.value == "")
 
         {
 
          alert("Please enter your First Name.");
 
          document.FormFree.name.focus();
 
          return false
 
         }
 
 
      if (document.FormFree.from.value == "")
 
         {
 
          alert("Please enter your Email Address.");
 
          document.FormFree.from.focus();
 
          return false
 
         }
 
 
      if(document.FormFree.from.value.indexOf('@', 0) == -1)
 
        {
 
          alert("Please enter a valid Email Address.");
 
          document.FormFree.from.focus();
 
          return false
 
        }
 
 
 
      if(document.FormFree.from.value.indexOf('.', 0) == -1)
 
        {
 
          alert("Please enter a valid Email Address.");
 
          document.FormFree.from.focus();
 
          return false
 
        }
 
 
 
      if (document.FormFree.ConfirmEmail.value == "")
 
         {
 
          alert("Please Confirm your Email Address.");
 
          document.FormFree.ConfirmEmail.focus();
 
          return false
 
         }
 
 
 
      if (document.FormFree.ConfirmEmail.value != "")
 
         {
 
           vConfirmEmail = document.FormFree.ConfirmEmail.value
 
           vfrom      = document.FormFree.from.value
 
  
 
           if (vConfirmEmail.toString() != vfrom.toString())
 
               {
 
                alert("Incorrect Confirm, Please Confirm your Email Address.");
 
                document.FormFree.ConfirmEmail.focus();
 
                return false
 
               }
 
         }
 
 
 
 	   
 
      vValidEmail = "No" ;
 
      emailCheck (document.FormFree.from.value)
 
 
 
      if (vValidEmail == "Yes")
 	    {
          vParm1 = "?1=" + document.FormFree.name.value ;
          vParm2 = "&2=" + document.FormFree.from.value ;
          vParm3 = "&3=" + document.FormFree.aWeberListName.value ;
 
          top.window.location = "/Subscribe.html" + vParm1 + vParm2 + vParm3  ;
 		}
 
 }
 
 
 
/***********************************************
*  
* Validate Email
*  
***********************************************/
 
 <!-- Begin
 
 
 
 var vValidEmail = "" ;
 
 
 
 function emailCheck (emailStr) {
 
 
 
 /* The following variable tells the rest of the function whether or not
 
 to verify that the address ends in a two-letter country or well-known
 
 TLD.  1 means check it, 0 means don't. */
 
 
 
 var checkTLD=1;
 
 
 
 /* The following is the list of known TLDs that an e-mail address must end with. */
 
 
 
 var knownDomsPat=/^(com|net|org|edu|int|mil|gov|arpa|biz|aero|name|coop|info|pro|museum)$/;
 
 
 
 /* The following pattern is used to check if the entered e-mail address
 
 fits the user@domain format.  It also is used to separate the username
 
 from the domain. */
 
 
 
 var emailPat=/^(.+)@(.+)$/;
 
 
 
 /* The following string represents the pattern for matching all special
 
 characters.  We don't want to allow special characters in the address. 
 
 These characters include ( ) < > @ , ; : \ " . [ ] */
 
 
 
 var specialChars="\\(\\)><@,;:\\\\\\\"\\.\\[\\]";
 
 
 
 /* The following string represents the range of characters allowed in a 
 
 username or domainname.  It really states which chars aren't allowed.*/
 
 
 
 var validChars="\[^\\s" + specialChars + "\]";
 
 
 
 /* The following pattern applies if the "user" is a quoted string (in
 
 which case, there are no rules about which characters are allowed
 
 and which aren't; anything goes).  E.g. "jiminy cricket"@disney.com
 
 is a legal e-mail address. */
 
 
 
 var quotedUser="(\"[^\"]*\")";
 
 
 
 /* The following pattern applies for domains that are IP addresses,
 
 rather than symbolic names.  E.g. joe@[123.124.233.4] is a legal
 
 e-mail address. NOTE: The square brackets are required. */
 
 
 
 var ipDomainPat=/^\[(\d{1,3})\.(\d{1,3})\.(\d{1,3})\.(\d{1,3})\]$/;
 
 
 
 /* The following string represents an atom (basically a series of non-special characters.) */
 
 
 
 var atom=validChars + '+';
 
 
 
 /* The following string represents one word in the typical username.
 
 For example, in john.doe@somewhere.com, john and doe are words.
 
 Basically, a word is either an atom or quoted string. */
 
 
 
 var word="(" + atom + "|" + quotedUser + ")";
 
 
 
 // The following pattern describes the structure of the user
 
 
 
 var userPat=new RegExp("^" + word + "(\\." + word + ")*$");
 
 
 
 /* The following pattern describes the structure of a normal symbolic
 
 domain, as opposed to ipDomainPat, shown above. */
 
 
 
 var domainPat=new RegExp("^" + atom + "(\\." + atom +")*$");
 
 
 
 /* Finally, let's start trying to figure out if the supplied address is valid. */
 
 
 
 /* Begin with the coarse pattern to simply break up user@domain into
 
 different pieces that are easy to analyze. */
 
 
 
 var matchArray=emailStr.match(emailPat);
 
 
 
 if (matchArray==null) {
 
 
 
 /* Too many/few @'s or something; basically, this address doesn't
 
 even fit the general mould of a valid e-mail address. */
 
 
 
 alert("Email address seems incorrect (check @ and .'s)");
 
 return false;
 
 }
 
 var user=matchArray[1];
 
 var domain=matchArray[2];
 
 
 
 // Start by checking that only basic ASCII characters are in the strings (0-127).
 
 
 
 for (i=0; i<user.length; i++) {
 
 if (user.charCodeAt(i)>127) {
 
 alert("Ths username contains invalid characters.");
 
 return false;
 
    }
 
 }
 
 for (i=0; i<domain.length; i++) {
 
 if (domain.charCodeAt(i)>127) {
 
 alert("Ths domain name contains invalid characters.");
 
 return false;
 
    }
 
 }
 
 
 
 // See if "user" is valid 
 
 
 
 if (user.match(userPat)==null) {
 
 
 
 // user is not valid
 
 
 
 alert("The username doesn't seem to be valid.");
 
 return false;
 
 }
 
 
 
 /* if the e-mail address is at an IP address (as opposed to a symbolic
 
 host name) make sure the IP address is valid. */
 
 
 
 var IPArray=domain.match(ipDomainPat);
 
 if (IPArray!=null) {
 
 
 
 // this is an IP address
 
 
 
 for (var i=1;i<=4;i++) {
 
 if (IPArray[i]>255) {
 
 alert("Destination IP address is invalid!");
 
 return false;
 
    }
 
 }
 
 return true;
 
 }
 
 
 
 // Domain is symbolic name.  Check if it's valid.
 
  
 
 var atomPat=new RegExp("^" + atom + "$");
 
 var domArr=domain.split(".");
 
 var len=domArr.length;
 
 for (i=0;i<len;i++) {
 
 if (domArr[i].search(atomPat)==-1) {
 
 alert("The domain name does not seem to be valid.");
 
 return false;
 
    }
 
 }
 
 
 
 /* domain name seems valid, but now make sure that it ends in a
 
 known top-level domain (like com, edu, gov) or a two-letter word,
 
 representing country (uk, nl), and that there's a hostname preceding 
 
 the domain or country. */
 
 
 
 if (checkTLD && domArr[domArr.length-1].length!=2 && 
 
 domArr[domArr.length-1].search(knownDomsPat)==-1) {
 
 alert("The address must end in a well-known domain or two letter " + "country.");
 
 return false;
 
 }
 
 
 
 // Make sure there's a host name preceding the domain.
 
 
 
 if (len<2) {
 
 alert("This address is missing a hostname!");
 
 return false;
 
 }
 
 
 
 
 
 vValidEmail = "Yes" ;
 
 // If we've gotten this far, everything's valid!
 
 return true;
 
 }
 
 
 
//  End -->




/***********************************************
*  
* Output Thumbnail
*  
***********************************************/

 function OutputThumbnail(vTempWidth,vTempHeight,vTempLink,vTempImage,vTempTitle,vTempPrice,vTempDisplayBidCount,vTempEndTime,vTempbuyitnowenabled,vTempSmallPic)
    {       
      if (vTempSmallPic == "Yes") 
         {
           document.write("<div class=\"ThumbBox2\"><div class=\"ThumbWrapper2\">") ;
         }
      else
         {
           document.write("<div class=\"ThumbBox\"><div class=\"ThumbWrapper\">") ;
         }
            
      
      document.write("<span class='ThumbImage'  onClick=\"window.open('" + vTempLink + "') ;\">  ") ;
      document.write("<img src='" + vTempImage + "' width='" + vTempWidth + "' height='" + vTempHeight + "' alt='" + vTempTitle + "'>") ;
      document.write("</span>") ;
      
      document.write("<div class='ThumbPriceDisplay'>Price:&nbsp;&nbsp;</div>") ;
      document.write("<div class='ThumbPrice'>$ " + vTempPrice + "</div>") ;
      
      if (vTempSmallPic == "Yes") { document.write("<div style='clear: both;'></div>") ; }
      
      document.write("<div class='ThumbBidCount'>&nbsp;&nbsp;" + vTempDisplayBidCount + "</div>") ;
       
      document.write("<div style='clear: both;'></div>") ;
      
      document.write("<span onClick=\"window.open('" + vTempLink + "') ;\" > "); 
      document.write("<div class='ThumbBidLink'><img src='../../kzzIncludes/arrow.gif' width='9' height='9' align='absbottom' border='0'></div>") ;
      document.write("<div class='ThumbBidLink'>Bid</div>") ;
      document.write("</span>") ;
      document.write("<div class='ThumbSpaces'>&nbsp;&nbsp;</div>") ;
      document.write("<span onClick=\"window.open('" + vTempLink + "') ;\" > "); 
      document.write("<div class='ThumbBidLink'><img src='../../kzzIncludes/arrow.gif' width='9' height='9' align='absbottom' border='0'></div>") ;
      document.write("<div class='ThumbBidLink'>Watch</div>") ;
      document.write("</span>") ;

      document.write("<div style='clear: both;'></div>") ;    
                
      document.write("<div class='ThumbEnds'>&nbsp;Ends: " + vTempEndTime + " &nbsp;</div>") ;
      
      document.write("<div style='clear: both;'></div>") ;
      
      document.write("<span onClick=\"window.open('" + vTempLink + "') ;\" > "); 
      if (vTempSmallPic == "Yes") 
         {
           document.write("<font class='ThumbTitle2'><b>" + vTempTitle + "</b></font>") ;
         }
      else
         {
           document.write("<font class='ThumbTitle'><b>" + vTempTitle + "</b></font>") ;
         }
      document.write("</span>") ;   


      if (vTempbuyitnowenabled == "false")
         {
           document.write("</div></div>") ;       
         }   
     
    }

 
  function OutputBuyNow(vTempLink,vBuyGif,vTempbuyitnowprice)
    {  
      document.write("<div style='clear: both;'></div>") ;
      document.write("<span onClick=\"window.open('" + vTempLink + "') ;\" >");
      document.write("<div class='ThumbBidLink'><img src='" + vBuyGif + "' width='55' height='14' valign='top' border='0'></div>") ;
      document.write("</span>") ;

      document.write("<div class='ThumbSpaces'>&nbsp;&nbsp;</div>") ;
      
      document.write("<span onClick=\"window.open('" + vTempLink + "') ;\" ");
      document.write("<font class='ThumbBuyPrice'><b>$" + vTempbuyitnowprice + "</b></font>") ;
      document.write("</span>") ; 
      
      document.write("</div></div>") ;  
    }
 
 
 /***********************************************
 *  
 * Output Opt In
 *  
***********************************************/
 
   function OutputOptIn(aWeberOffer,aWeberListName)
     {  
 	document.write("<form name='FormFree'  method='post' action=''>") ;
 	document.write("<table style='border: solid 3px #83c000 ; background-color: #F9FFEC;' width='100%' cellpadding='2' >") ;
 	document.write("<tr> ") ;
 	document.write("<td colspan='2' align='center'> ") ;
 	document.write("<span class='OptinHeaderRed'>") ;
 	document.write("<font style='font-family: Arial; font-size: 1.4em; color:#000000'>... F R E E ...<br></font> Alert Me on ") ;
 	document.write("<font class='OptinHeaderBlack'><u>Just Listed Deals</u> </font><br>") ;
 	document.write("for " + aWeberOffer) ;
 	document.write("</span>") ;
 	document.write("</td>") ;
 	document.write("</tr>") ;
 	document.write("<tr> ") ;
 	document.write("<td colspan='2' height='15'> ") ;
 	document.write("</td>") ;
 	document.write("</tr>") ;
 	document.write("<tr>") ;             
 	document.write("<td align=right width='40%'><font class='OptinText'>First Name:</font></td>") ;              
 	document.write("<td align=left width='60%'><input class='OptinText' id='dName' name='name' value='' size='15' type='text'></td>") ;
 	document.write("</tr>") ;
 	document.write("<tr>") ;             
 	document.write("<td align=right width='40%'><font class='OptinText'>Email Addr:</font></td>") ;             
 	document.write("<td align=left width='60%'><input class='OptinText' id='dFrom' name='from' value='' size='15' type='text'></td>") ;
 	document.write("</tr>") ;
 	document.write("<tr>") ;           
 	document.write("<td align=right width='40%'><font class='OptinText'>Confirm Email:</font></td>") ;              
 	document.write("<td align=left width='60%'><input class='OptinText' id='dConfirmEmail' name='ConfirmEmail' value='' size='15' type='text'></td>") ;
 	document.write("</tr>") ;
 	document.write("<tr>") ;             
 	document.write("<td align=right width='40%' height='40'>&nbsp;</td>") ;             
 	document.write("<td align=left width='60%' height='40'>") ;
 	document.write("<table width='100' border='0' cellspacing='0' cellpadding='0'><tr bgcolor='#5c5c5c'>") ; 
 	document.write("<td align=center height='25'><span onclick=\"return FreeRtn();\">") ;
 	document.write("<font style='font-family: Arial; font-size: 12px;   color: #FFFFFF ; font-weight: bold; text-decoration: underline; '>") ;
 	document.write("Sign-Up Now!</font></span></td></tr></table>") ; 	 	 	 	
 	document.write("</td>") ;
 	document.write("</tr>") ;
 	document.write("</table>") ; 
 	document.write("<input type='hidden' id='dListName' name='aWeberListName'  value='" + aWeberListName + "' size='20' >") ;
	document.write("</form>") ;
    } 

 /***********************************************
 *  
 * Output Search
 *  
***********************************************/
 
   function OutputSearch()
     { 
	document.write ("<form name='SearchForm' method='post' action=''>");
	document.write ("<input id='tag' class='text' type='text' name='tag' size='25' onkeypress='return onEnter(event,this.form);'   maxlength='255' value=' Best results use 1 or 2 words'  onfocus='ClearSearch();'>&nbsp;"); 
	document.write ("<input class='ButtonSearch' type='button' name='btnSearch' value='Search' onClick='SearchRtn()'>");
	document.write ("</form>"); 
     }	
     
     
 /***********************************************
 *  
 * Output Single Item
 *  
***********************************************/     

   function OutputSingleItemBid(vTempLink)
     { 
       document.write("<a href='" + vTempLink + "' target='_blank'> "); 
       document.write("<div style='cursor:hand; padding-top: 5px; font-family: Arial; float: left; font-size: 11px; color: #0000FF; text-decoration: underline;'><b>Bid</b></div>") ;
       document.write("</a>") ;     
     }        
     
     
   function OutputSingleItemWatch(vTempLink)
     { 
       document.write("<a href='" + vTempLink + "' target='_blank'> "); 
       document.write("<div style='cursor:hand; padding-top: 5px; font-family: Arial; float: left; font-size: 11px; color: #0000FF; text-decoration: underline;'><b>Watch</b></div>") ;
       document.write("</a>") ;     
     }   
     
   function OutputSingleItemMoreInfo(vTempLink)
     { 
       document.write("<a href='" + vTempLink + "' target='_blank'> "); 
       document.write("<div style='cursor:hand; padding-top: 5px; font-family: Arial; float: left; font-size: 11px; color: #0000FF; text-decoration: underline;'>CLICK HERE TO CONTINUE ....&nbsp;</div>") ;
       document.write("</a>") ;     
     }        
 
 
    function OutputSingleItemMoreInfoSmall(vTempLink)
      { 
       document.write("<a href='" + vTempLink + "' target='_blank'> "); 
        document.write("<div style='cursor:hand; padding-top: 5px; font-family: Arial; float: left; font-size: 11px; color: #0000FF; text-decoration: underline;'>click here to read more ... </div>") ;
        document.write("</a>") ;     
      }        
 

   function OutputSingleItemBuyItNowPrice(vTempLink,vBuyItNowPrice)
     { 
       document.write("<a href='" + vTempLink + "' target='_blank'> "); 
       document.write("<div style='cursor:hand; padding-top: 5px; font-family: Arial; float: left; font-size: 13px; color: #0000FF; text-decoration: underline;'><b>" + vBuyItNowPrice + "</b></div>") ;
       document.write("</a>") ;     
     }      


   function OutputSingleItemImage(vTempLink,vTempImage,vTempTitle)
     { 
       document.write("<a class='ThumbImage' href='" + vTempLink + "' target='_blank'> "); 
       document.write("<img src='" + vTempImage + "' width='150' height='150' alt='" + vTempTitle + "'>") ;
       document.write("</a>") ;    
     }      
          

   function OutputSingleItemImageSmall(vTempLink,vTempImage,vTempTitle)
     { 
       document.write("<a class='ThumbImage' href='" + vTempLink + "' target='_blank'> "); 
       document.write("<img src='" + vTempImage + "' width='100' height='100' alt='" + vTempTitle + "'>") ;
       document.write("</a>") ;    
     }                
          
 /***********************************************
 *  
 * WinOpen
 *  
***********************************************/     

   function WinOpen(vUrl)
     {           
       window.open(vUrl) ;
     }
 
var addtoLayout=0;                                           // 0=Horizontal 1 row, 1=Horizontal 2 rows, 2=Vertical, 3=Vertical text only  
var addtoMethod=1;                                           // 0=direct link, 1=popup window 
var AddURL = encodeURIComponent(document.location.href);     // this is the page's URL 
var AddTitle = escape(document.title);                       // this is the page title 


 /***********************************************
 *  
 * BookMark
 *  
***********************************************/ 

//	<license>
//	Script: Add To Bookmarks
//	Version: 1.1
//	Homepage: http://www.AddToBookmarks.com/
//	Author:	Gideon Marken
//	Author Blog: http://www.gideonmarken.com/
//	Author Work: http://www.markenmedia.com/
//	Author Work: http://www.webandaudio.com/
//	Date: July 18, 2007
//  License: Mozilla Public License 1.1	http://www.mozilla.org/MPL/MPL-1.1.html
//	Custom Development: If you need this script modified, or other custom Web development - contact me!
//	</license>
//	** NOTES - ok to delete
//	AddSite= this will be the url to the social bookmarking site for adding bookmarks
//	AddUrlVar= variable for URL
//	AddTitleVar= variable for TITLE
//	AddNote= the notes or description of the page - we're using the title for this when it's used
//	AddReturn= so far, one site requires a return url to be passed
//	AddOtherVars= some social bookmarking sites require other variables and their values to be passed - if any exist, they'll be set to this var
//	AddToMethod	= [0=direct,1=popup]
//	**Release Log
//	v1 = [December 05, 2005] initial release
//	v1.1 = [July 18, 2007] CSS issue in horizontal layout // Google and Furl bookmark link change // safari popup/timer issue fixed

var txtVersion = "1.1";
var addtoInterval = null;
var popupWin = '';
 
//intervalMgr was added to make the popup and timer work in Safari
function intervalMgr(){
	if(/Safari/i.test(navigator.userAgent)){ //Test for Safari
		var addtoInterval=setInterval(function(){
  		if(/loaded|complete/.test(document.readyState)){
			clearInterval(addtoInterval)
			closeAddTo() // call target function
  		}}, 1000)
	}
	else{var addtoInterval = setInterval("closeAddTo();",1000);}
}
function addtoWin(addtoFullURL)
{
	if (!popupWin.closed && popupWin.location){
		popupWin.location.href = addtoFullURL;
		intervalMgr();
	}
	else{
		popupWin = window.open(addtoFullURL,'addtoPopUp','width=770px,height=500px,status=0,location=0,resizable=1,scrollbars=1,left=0,top=100');
		if (!popupWin.opener) popupWin.opener = self;
		intervalMgr();
	}
	if (window.focus) {popupWin.focus()}
	return false;
}
// closes the popupWin
function closeAddTo() {
	if (!popupWin.closed && popupWin.location){
		if (popupWin.location.href == AddURL)	//if it's the same url as what was bookmarked, close the win
		popupWin.close();
	}
	else {	//if it's closed - clear the timer
		clearInterval(addtoInterval)
		return true
	}
}
//main addto function - sets the variables for each Social Bookmarking site
function addto(addsite){
	switch(addsite){
		case 0:	//	AddToBookmarks.com ID:0	- an educational page on what Social Bookmarking is
			var AddSite = "http://www.addtobookmarks.com/socialbookmarking.htm?";
			var AddUrlVar = "url";
			var AddTitleVar = "title";
			var AddNoteVar = "";
			var AddReturnVar = "";
			var AddOtherVars = "";	
			break	
		case 1:	//	Blink ID:1
			var AddSite = "http://www.blinklist.com/index.php?Action=Blink/addblink.php";
			var AddUrlVar = "url";
			var AddTitleVar = "title";
			var AddNoteVar = "description";
			var AddReturnVar = "";
			var AddOtherVars = "&Action=Blink/addblink.php";	
			break
		case 2:	//	Del.icio.us	ID:2 &v=3&noui=yes&jump=close
			var AddSite = "http://del.icio.us/post?";
			var AddUrlVar = "url";
			var AddTitleVar = "title";
			var AddNoteVar = "";
			var AddReturnVar = "";
			var AddOtherVars = "";		
			break
		case 3:	//	Digg ID:3
			var AddSite = "http://digg.com/submit?";
			var AddUrlVar = "url";
			var AddTitleVar =  "";
			var AddNoteVar =  "";
			var AddReturnVar =  "";
			var AddOtherVars = "&phase=2";
			break
		case 4:	//	Furl ID:4
			var AddSite = "http://www.furl.net/savedialog.jsp?";
			var AddUrlVar = "u";
			var AddTitleVar = "t";
			var AddNoteVar = "";
			var AddReturnVar = "";
			var AddOtherVars = "";	
			break
		case 5:	//	GOOGLE ID:5
			var AddSite = "http://www.google.com/bookmarks/mark?op=add&";
			var AddUrlVar = "bkmk";
			var AddTitleVar = "title";
			var AddNoteVar = "";
			var AddReturnVar = "";
			var AddOtherVars = "";
			break
		case 6:	//	Simpy ID:6
			var AddSite = "http://simpy.com/simpy/LinkAdd.do?";
			var AddUrlVar = "href";
			var AddTitleVar = "title";
			var AddNoteVar = "note";
			var AddReturnVar = "_doneURI";
			var AddOtherVars = "&v=6&src=bookmarklet";
			break
		case 7:	//	Yahoo ID: 7
			var AddSite = "http://myweb2.search.yahoo.com/myresults/bookmarklet?";
			var AddUrlVar = "u";
			var AddTitleVar = "t";
			var AddNoteVar = "";
			var AddReturnVar = "";
			var AddOtherVars = "&d=&ei=UTF-8";
			break
		case 8:	//	Spurl ID: 8 	d.selection?d.selection.createRange().text:d.getSelection()
			var AddSite = "http://www.spurl.net/spurl.php?";
			var AddUrlVar = "url";
			var AddTitleVar = "title";
			var AddNoteVar = "blocked";
			var AddReturnVar = "";
			var AddOtherVars = "&v=3";
			break
			//	To add more bookmarking sites, find the posting URL, identify the variable names, and create another case statement
		default:
	}
//	Build the URL
	var addtoFullURL = AddSite + AddUrlVar + "=" + AddURL + "&" + AddTitleVar + "=" + AddTitle + AddOtherVars ;
	if (AddNoteVar != "") 
		{var addtoFullURL = addtoFullURL + "&" + AddNoteVar + "=" + AddTitle;}
	if (AddReturnVar != "")
		{var addtoFullURL = addtoFullURL + "&" + AddReturnVar + "=" + AddURL;}
//	Checking AddToMethod, to see if it opens in new window or not
	switch(addtoMethod){
		case 0:	// 0=direct link
			self.location = addtoFullURL
			break
		case 1:	// 1=popup
			addtoWin(addtoFullURL);
			break
		default:	
		}
		return true;
}
//	checking across domains causes errors - this is to supress these
function handleError() {return true;}
window.onerror = handleError; 
   