// JavaScript Document
<!--<script language="JavaScript" type="text/javascript"><!--
/* Add to Favorites / Bookmarks or Sidebar Script. v1.0
Copyright (c) 2003 dazdezines.com. All rights reserved.
This script may be used freely as long as this
copyright message is left unchanged.

If you use Dreamweaver - get the Free DW Extension @
http://www.dazdezines.com/mme.

This script automatically adds a link to do the following:
Internet Explorer 4+ - Add this page to favorites list
Opera 6+ - Add this page to bookmarks/Hostlist
Netscape 6+ - Add sidebar to My Sidebar
Netscape 4x - Alert prompt telling user to press CTL+D to add bookmark */

var ns6LnkText = "Add our Sidebar now"; //ns6+
var ie4LnkText = "Add this page to Favorites now"; //ie4+
var op6LnkText = "Bookmark and Add this page to Hotlist now"; //op6+
var ns4LnkText = "Bookmark this page now"; //ns4+
var LinkURL = "javascript:;";
var linkSidebar = "www.artandantiqueemporium.com/links/sidebar.html" //ns6+
var titleText = document.title; //ie4+ & op6+ 

if (typeof window.sidebar == "object" /* NS6+ */ ) { linkText = ns6LnkText; }
else if (window.external /* IE4+ */ ) { linkText = ie4LnkText; }
else if (window.opera /* OP6+ */ ) { linkText = op6LnkText; }
else { linkText = ns4LnkText ; /* NS4+ & Unknown */ }
if (window.opera) { lnkURL = document.location.href;
} else { lnkURL = LinkURL; }
//-->

<!--

/*****************************************
* Open links in new window Script- By spk100 (spk100@yahoo.com)
* Script featured on/available at Dynamic Drive- http://www.dynamicdrive.com/
* Modified by DD. This notice must stay intact for use
*****************************************/

//Enter "_blank" for new window (each time), "window2" for a set secondary window
var newwindow="_blank"

function hyperlinks(target){
   if (target) where = newwindow;
   else where = "_self";
   for (var i=0; i<=(document.links.length-1); i++){
	 var linkobj=document.links[i].href
   if ( linkobj.indexOf("javascript:") ==-1 && linkobj.indexOf("#") ==-1){
   	if (target && where!="_blank") //DynamicDrive.com added routine- open window in set secondary window
      	document.links[i].onclick=function(){
			if (window.window2 && !window2.closed)
			window2.location=this.href
			else
        	window2=window.open(this.href)
			window2.focus()
      		return false
      			}
   	else{
      	if (newwindow=="window2") document.links[i].onclick = "";    
      	document.links[i].target = where;
       	}
   	}
	}
}

function inithyperlinks(){    //DynamicDrive.com added routine
if (document.targetform.targetnew.checked)
hyperlinks(true)
}

window.onload=inithyperlinks

// -->
<!--<script>
