//Javascript
<!--
//popup window code
/*to add a popuplink use:

<a href='the location of the link' onclick='NC_NewWindow(this.href,'window_target_name','width','height','scrollbars(yes/no)');return false;'>the link</a>

//have fun...*/
function NC_NewWindow(mypage, myname, w, h, scroll) {
	var winl = (screen.width - w) / 2;
	var wint = (screen.height - h) / 2;
	winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',';
	win = window.open(mypage, myname, winprops);
	if (parseInt(navigator.appVersion) >= 4) { 
		win.window.focus();
	}
}
//end of popupwindow code

// This is for switching the top of the page content from flash to nothing once the user is on a secure "HTTPS:" page.
// 
function NC_flashHeader() {
	if(document.URL.indexOf('https:')==0){
		document.write('<div class="textBold" style="color:#FFFFFF; text-align:right; vertical-align:middle; padding:25px 25 	px 0px 0px"></div>');
	}
	else {
		document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" name="flashheader" id="flashheader" height="77" width="360">'
		+'<param name="movie" value="http://www.newburycomics.com/stores/newburycomics/user-images/nc_header_dynamic.swf">'
		+'<param name="allowScriptAccess" value="sameDomain">'
		+'<param name="scale" value="exactfit">'
		+'<param name="wmode" value="transparent">'
		+'<param name="FlashVars" value="movieid=flashheader">'
		+'<embed src="http://www.newburycomics.com/stores/newburycomics/user-images/nc_header_dynamic.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" wmode="transparent" type="application/x-shockwave-flash" scale="exactfit" name="nc_header_dynamic"  allowScriptAccess="sameDomain" flashvars="movieid=flashheader" height="77" width="360" align="middle">');
	}
}
//

// Newbury Jump-Menu Category and Destination Controls
/*  To update or change an entry:
		Alter the Category Name and the URL to which it should link for each "opts[x]" entry that you wish to change.
	 To add more entries:
	 	Add more "opts[x]" entries in numerical order to add more categories.
	 To remove entries:
	 	Delete the "opts[x]" line for any entry you wish to retire.  Renumbering is optional, but encouraged for easier maintenance.
*/

/* Call up on any page with:
	<script type="text/javascript">
		NC_jumpMenu();
	</script>
*/

function NC_jumpMenu()
{
	var opts = new Array();

// ### modify this section to change menu  ### //	
	opts[0] = ["Shop By Brand", "/rel/v2_home.php?storenr=103&deptnr=1"];
	opts[1] = ["Aqua Teen", "/rel/v2_home.php?storenr=103&deptnr=400"];
	opts[2] = ["&nbsp;&nbsp;&nbsp;&nbsp;Hunger Force", "/rel/v2_home.php?storenr=103&deptnr=400"];
	opts[3] = ["Boston Red Sox", "/rel/v2_home.php?storenr=103&deptnr=89"];
	opts[4] = ["Dr. Martens", "/rel/v2_home.php?storenr=103&deptnr=175"];
	opts[5] = ["Family Guy", "/rel/v2_home.php?storenr=103&deptnr=90"];
	opts[6] = ["New England Patriots", "/rel/v2_home.php?storenr=103&deptnr=100"];
	opts[7] = ["The Simpsons", "/rel/v2_home.php?storenr=103&deptnr=120"];
	opts[8] = ["South Park", "/rel/v2_home.php?storenr=103&deptnr=96"];
	opts[9] = ["Ugly Doll", "/rel/v2_home.php?storenr=103&deptnr=133"];

// ### do NOT modify past here unless your kung-fu is strong. ### //
	document.write ("<form name='nc_jump' method='post' action=''>\r");
	document.write ("<select name='select' onChange='javascript:MM_jumpMenu(this,0);'>\r");
	for (i = 0; i < opts.length; i++) 
	{
		if (opts[i]) {
			document.write ("<option value='" + opts[i][1] + "'>" + opts[i][0] + "</option>\r");
		}
	}
	document.write ("</select>\r");
	document.write ("</form>\r");
}
// END JUMP MENU SCRIPT

// <!--ONESTAT SCRIPTCODE START-->
// Modification of this code is not allowed and will permanently disable your account!
// Account ID : 194758
// Website URL: http://www.buymusichere.net/stores/newburycomics
// Copyright (C) 2002-2004 OneStat.com All Rights Reserved
function OneStat_Pageview()
{
    var d=document;
    var sid="194758";
    var CONTENTSECTION="";
    var CUSTOMDATA="";
    var osp_URL=d.URL;
    var osp_Title=d.title;
    var t=new Date();
    var p="http"+(document.URL.indexOf('https:')==0?'s':'')+"://stat.onestat.com/stat.aspx?tagver=2&sid="+sid;
    p+="&url="+escape(osp_URL);
    p+="&ti="+escape(osp_Title);
    p+="&section="+escape(CONTENTSECTION);
    p+="&custom="+escape(CUSTOMDATA);
    p+="&rf="+escape(parent==self?window.document.referrer:top.document.referrer);
    p+="&tz="+escape(t.getTimezoneOffset());
    p+="&ch="+escape(t.getHours());
    p+="&js=1";
    p+="&ul="+escape(navigator.appName=="Netscape"?navigator.language:navigator.userLanguage);
    if(typeof(screen)=="object"){
       p+="&sr="+screen.width+"x"+screen.height;p+="&cd="+screen.colorDepth;
       p+="&jo="+(navigator.javaEnabled()?"Yes":"No");
    }
    d.write('<A HREF="http://www.onestat.com/aspx/login.aspx?sid='+sid+'" target=_blank><IMG ID="ONESTAT_TAG" BORDER="0" WIDTH="1" HEIGHT="1" SRC="'+p+'" ></A>');
}

OneStat_Pageview();
// <!--ONESTAT SCRIPTCODE END-->

//-->
