function closeIt() { close();}function changeBGImage(image){	document.body.background=image;}function changeBGImageAd(image){	document.body.background=image;	if (image == "images/ads/large/partypaper0603.jpg") { window.resizeTo(720,530) }	else if (image == "images/ads/large/disco0701.jpg") { window.resizeTo(720,530) }	else if (image == "images/ads/large/halloween0702.jpg") { window.resizeTo(720,530) }	else if (image == "images/ads/large/sports0703.jpg") { window.resizeTo(720,530) }	else if (image == "images/ads/large/birthdays0704.jpg") { window.resizeTo(720,530) }	else if (image == "images/ads/large/giftwarenews0701.jpg") { window.resizeTo(720,530) }	else if (image == "images/ads/large/giftsdecorations0702.jpg") { window.resizeTo(720,530) }	else { window.resizeTo(530,720) }}function gotosite(site) {    if (site != "") {        self.location=site;    }}function MM_openBrWindow(theURL,winName,features) { //v2.0  window.open(theURL,winName,features);}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_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_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_findObj(n, d) { //v4.01  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);  if(!x && d.getElementById) x=d.getElementById(n); return x;}ns4 = (document.layers)? true:falseie4 = (document.all)? true:falsens6 = (document.getElementById)? true:false// Show/Hide functions for non-pointer layer/objectsfunction show(id) {	if (ns4) document.layers[id].visibility = "show"	else if (ie4) document.all[id].style.visibility = "visible"	else if (ns6) document.getElementById(id).style.visibility = "visible"	}function hide(id) {	if (ns4) document.layers[id].visibility = "hide"	else if (ie4) document.all[id].style.visibility = "hidden"	else if (ns6) document.getElementById(id).style.visibility = "hidden"}var today = new Date(); // todayvar year = y2k(today.getYear());function dateMsg() {	return(year);}function y2k(year) {	if (year < 2000)	year = year + 1900;	return year;}function showDiv(objectID) {var theElementStyle = document.getElementById(objectID);if(theElementStyle.style.display == "none"){theElementStyle.style.display = "block";}else{theElementStyle.style.display = "none";}}function showDivRetailer(objectID) {var theElementStyle = document.getElementById(objectID);if(theElementStyle.style.display == "block"){theElementStyle.style.display = "block";}else{theElementStyle.style.display = "block";}}function showDivConsumer(objectID) {var theElementStyle = document.getElementById(objectID);if(theElementStyle.style.display == "none"){theElementStyle.style.display = "none";}else{theElementStyle.style.display = "none";}}function getRef(obj){        return (typeof obj == "string") ?        document.getElementById(obj) : obj;}function setStyle(obj,style,value){        getRef(obj).style[style]= value;}function setClassName(obj, className){        getRef(obj).className= className;}function toggleStyle(obj, style, value1, value2){        obj= getRef(obj);        // obj.isValue1 will be false the first time.        if(!obj.isValue1){                obj.style[style]= value1;                obj.isValue1= true;        }        else{                obj.style[style]= value2;                obj.isValue1= false;        }}function toggleClassName(obj, class1, class2){        obj= getRef(obj);        // obj.isClass1 will be false the first time.        if(!obj.isClass1){                obj.className= class1;                obj.isClass1= true;        }        else{                obj.className= class2;                obj.isClass1= false;        }}function partyButOn(objectID)	{ var theElementStyle = document.getElementById(objectID); theElementStyle.className = "navtopbuttonall"; }function partyButOff(objectID) 	{ var theElementStyle = document.getElementById(objectID); theElementStyle.className = "navtopbuttonall"; }function get_primary_nav() {  var urlString = location.href.toLowerCase();  site1 = urlString.lastIndexOf("/index");  site2 = urlString.lastIndexOf("/party");  site3 = urlString.lastIndexOf("/gift");  site4 = urlString.lastIndexOf("/aboutus");  site5 = urlString.lastIndexOf("/newsevents");  site6 = urlString.lastIndexOf("/contactus");  siteName="index";  maxNum=site1;    if (site2 > maxNum) {siteName="/party"; maxNum=site2;}  if (site3 > maxNum) {siteName="/gift"; maxNum=site3;}  if (site4 > maxNum) {siteName="/aboutus"; maxNum=site4;}  if (site5 > maxNum) {siteName="/newsevents"; maxNum=site5;}  if (site6 > maxNum) {siteName="/contactus"; maxNum=site6;}  return siteName;}function get_primary_party_nav() {	var urlString = location.href.toLowerCase();	Partysite1 = urlString.lastIndexOf("/index");	Partysite2 = urlString.lastIndexOf("/party_everyday");	Partysite3 = urlString.lastIndexOf("/party.htm");	Partysite4 = urlString.lastIndexOf("/party_all.htm");	PartysiteName="index";	maxNum=Partysite1;  	if (Partysite2 > maxNum) {PartysiteName="/party_everyday"; maxNum=Partysite2;}	if (Partysite3 > maxNum) {PartysiteName="/party.htm"; maxNum=Partysite3;}	if (Partysite4 > maxNum) {PartysiteName="/party_all.htm"; maxNum=Partysite4;}	return PartysiteName;}function get_primary_gift_nav() {	var urlString = location.href.toLowerCase();	Giftsite1 = urlString.lastIndexOf("/index");	Giftsite2 = urlString.lastIndexOf("/gift_fallgift");	Giftsite3 = urlString.lastIndexOf("/gift.htm");	Giftsite4 = urlString.lastIndexOf("/gift_all.htm");	GiftsiteName="index";	maxNum=Giftsite1;  	if (Giftsite2 > maxNum) {GiftsiteName="/gift_fallgift"; maxNum=Giftsite2;}	if (Giftsite3 > maxNum) {GiftsiteName="/gift.htm"; maxNum=Giftsite3;}	if (Giftsite4 > maxNum) {GiftsiteName="/gift_all.htm"; maxNum=Giftsite4;}	return GiftsiteName;}function get_primary_aboutus_nav() {	var urlString = location.href.toLowerCase();	Aboutussite1 = urlString.lastIndexOf("/index");	Aboutussite2 = urlString.lastIndexOf("legal");	Aboutussite3 = urlString.lastIndexOf("subsidiaries");	Aboutussite4 = urlString.lastIndexOf("background");	Aboutussite5 = urlString.lastIndexOf("office");	Aboutussite6 = urlString.lastIndexOf("showroom");	AboutussiteName="index";	maxNum=Aboutussite1;  	if (Aboutussite2 > maxNum) {AboutussiteName="legal"; maxNum=Aboutussite2;}	if (Aboutussite3 > maxNum) {AboutussiteName="subsidiaries"; maxNum=Aboutussite3;}	if (Aboutussite4 > maxNum) {AboutussiteName="background"; maxNum=Aboutussite4;}	if (Aboutussite5 > maxNum) {AboutussiteName="office"; maxNum=Aboutussite5;}	if (Aboutussite6 > maxNum) {AboutussiteName="showroom"; maxNum=Aboutussite6;}	return AboutussiteName;}function get_primary_newsevents_nav() {	var urlString = location.href.toLowerCase();	Newseventssite1 = urlString.lastIndexOf("/index");	Newseventssite2 = urlString.lastIndexOf("_pr.");	Newseventssite3 = urlString.lastIndexOf("editorials");	Newseventssite4 = urlString.lastIndexOf("advertising");	Newseventssite5 = urlString.lastIndexOf("calendar");	NewseventssiteName="index";	maxNum=Newseventssite1;  	if (Newseventssite2 > maxNum) {NewseventssiteName="_pr."; maxNum=Newseventssite2;}	if (Newseventssite3 > maxNum) {NewseventssiteName="editorials"; maxNum=Newseventssite3;}	if (Newseventssite4 > maxNum) {NewseventssiteName="advertising"; maxNum=Newseventssite4;}	if (Newseventssite5 > maxNum) {NewseventssiteName="calendar"; maxNum=Newseventssite5;}	return NewseventssiteName;}function get_primary_legal_nav() {	var urlString = location.href.toLowerCase();	Legalsite1 = urlString.lastIndexOf("/index");	Legalsite2 = urlString.lastIndexOf("privacy");	Legalsite3 = urlString.lastIndexOf("copyright");	Legalsite4 = urlString.lastIndexOf("sec");	LegalsiteName="index";	maxNum=Legalsite1;  	if (Legalsite2 > maxNum) {LegalsiteName="privacy"; maxNum=Legalsite2;}	if (Legalsite3 > maxNum) {LegalsiteName="copyright"; maxNum=Legalsite3;}	if (Legalsite4 > maxNum) {LegalsiteName="sec"; maxNum=Legalsite4;}	return LegalsiteName;}function site_get_primary_nav() { 	siteName=get_primary_nav();	PartysiteName=get_primary_party_nav();	GiftsiteName=get_primary_gift_nav();	AboutussiteName=get_primary_aboutus_nav();	LegalsiteName=get_primary_legal_nav();	siteName=get_primary_nav();	NewseventssiteName=get_primary_newsevents_nav();		logo="logo_amscan";	logowidth="215";	logopixel="25";	logourl="index.htm";	logoheight="35";	logovspace="15";	toppixel="16";	TDheight="49";		classnavtopParty="navtop";	classnavtopGift="navtop";	classnavtopAbout="navtop";	classnavtopNews="navtop";	classnavtopContact="navtop";	pixelGift="26";	pixelAbout="26";	pixelNews="26";	pixelContact="26";		if (siteName == "/party")		{ logo="logo_party"; logourl="party.htm"; logowidth="154"; logoheight="55"; logopixel="69"; toppixel="16"; TDheight="69"; classnavtopParty="navtopPartysel"; }	if (siteName == "/gift")		{ logo="logo_gift"; logourl="gift.htm"; logowidth="198"; logoheight="57"; logopixel="42"; toppixel="16"; TDheight="71"; classnavtopGift="navtopGiftsel"; pixelGift="9";}	if (siteName == "/aboutus")		{ classnavtopAbout="navtopAboutsel"; pixelAbout="9";}	if (siteName == "/newsevents")		{ classnavtopNews="navtopNewssel"; pixelNews="9";}	if (siteName == "/contactus")		{ classnavtopContact="navtopContactsel"; pixelContact="9";}	classsideParty="navtopPartysub2";	classsidePartyHd="navtopPartysubnoimage";	classtopParty="navtopPartysubdown";	classtopAllParty="navtopPartysubdown";	if (PartysiteName == "/party_everyday")		{ classsideParty="navtopPartysub2down"; classsidePartyHd="navtopPartysubnoimagedk";}	if (PartysiteName == "/party.htm")			{ classtopParty="navtopPartysub2downleft";}	if (PartysiteName == "/party_all.htm")		{ classtopAllParty="navtopPartysub2downleft";}	classsideGift="navtopGiftsub2";	classsideGiftHd="navtopGiftsubnoimage";	classtopGift="navtopGiftsubdown";	classtopAllGift="navtopGiftsubdown";	if (GiftsiteName == "/gift_fallgift")		{ classsideGift="navtopGiftsub2down"; classsideGiftHd="navtopGiftsubnoimagedk";}	if (GiftsiteName == "/gift.htm")			{ classtopGift="navtopGiftsub2downleft"; }	if (GiftsiteName == "/gift_all.htm")		{ classtopAllGift="navtopGiftsub2downleft"; }	classsidePrivacy="navtopAboutsub";	classsideCopyright="navtopAboutsub";	classsideSEC="navtopAboutsub";	classsideBackground="navtopAboutsub";	classsideOffice="navtopAboutsub";	classsideShowroom="navtopAboutsub";	classsideSubsidiaries="navtopAboutsub";	if (AboutussiteName == "background")	{ classsideBackground="navtopAboutsubdown"; }	if (AboutussiteName == "office")		{ classsideOffice="navtopAboutsubdown"; }	if (AboutussiteName == "showroom")		{ classsideShowroom="navtopAboutsubdown"; }	if (AboutussiteName == "subsidiaries")		{ classsideSubsidiaries="navtopAboutsubdown"; }	if (LegalsiteName == "privacy")			{ classsidePrivacy="navtopAboutsubdown"; }	if (LegalsiteName == "copyright")		{ classsideCopyright="navtopAboutsubdown"; }	if (LegalsiteName == "sec")				{ classsideSEC="navtopAboutsubdown"; }	classsidePR="navtopNewssub";	classsideEditorials="navtopNewssub";	classsideAdvertising="navtopNewssub";	classsideCalendar="navtopNewssub";	if (NewseventssiteName == "_pr.")				{ classsidePR="navtopNewssubdown"; }	if (NewseventssiteName == "editorials")			{ classsideEditorials="navtopNewssubdown"; }	if (NewseventssiteName == "advertising")		{ classsideAdvertising="navtopNewssubdown"; }	if (NewseventssiteName == "calendar")			{ classsideCalendar="navtopNewssubdown"; }	document.write('<table cellpadding=2 cellspacing=0 border=0>');	document.write('<tr><td valign=top rowspan=2><a href="' + logourl + '"><img src="images/' + logo + '.gif" width=' + logowidth + ' height=' + logoheight + ' border=0 vspace=' + logovspace + '></a><img src="images/pixel.gif" width=' + logopixel + ' height=1 border=0></td>');	document.write('<td valign=top colspan=9 height=' + toppixel + '><img src="images/pixel.gif" width=1 height=' + toppixel + ' border=0></td></tr><tr>');		document.write('<td valign=top nowrap height=' + TDheight + '><a href="party.htm" class="' + classnavtopParty + '" onMouseOver="show(\'partylayer\');show(\'partylayerhd\')" onMouseOut="hide(\'partylayer\');hide(\'partylayerhd\');">party&nbsp;&nbsp;</a></td>');	document.write('<td valign=top><img src="images/pixel.gif" width=' + pixelGift + ' height=1 border=0></td>');	document.write('<td valign=top nowrap height=' + TDheight + '><a href="gift.htm" class="' + classnavtopGift + '" onMouseOver="show(\'giftlayer\');show(\'giftlayerhd\')" onMouseOut="hide(\'giftlayer\');hide(\'giftlayerhd\');">gift&nbsp;&nbsp;</a></td>');	document.write('<td valign=top><img src="images/pixel.gif" width=' + pixelAbout + ' height=1 border=0></td>');	document.write('<td valign=top nowrap height=' + TDheight + '><a href="aboutus_background.htm" class="' + classnavtopAbout + '" onMouseOver="show(\'aboutlayer\');show(\'aboutlayerhd\');" onMouseOut="hide(\'aboutlayer\');hide(\'aboutlayerhd\');">about us&nbsp;&nbsp;</a></td>');	document.write('<td valign=top><img src="images/pixel.gif" width=' + pixelNews + ' height=1 border=0></td>');	document.write('<td valign=top nowrap height=' + TDheight + '><a href="newsevents_advertising.htm" class="' + classnavtopNews + '" onMouseOver="show(\'newslayer\');show(\'newslayerhd\');" onMouseOut="hide(\'newslayer\');hide(\'newslayerhd\');">news & events&nbsp;&nbsp;</a></td>');	document.write('<td valign=top><img src="images/pixel.gif" width=' + pixelContact + ' height=1 border=0></td>');	document.write('<td valign=top nowrap height=' + TDheight + '><a href="contactus.htm" class="' + classnavtopContact + '" onMouseOver="show(\'contactlayerhd\');" onMouseOut="hide(\'contactlayerhd\');">contact us&nbsp;&nbsp;</a></td>');	document.write('</tr></table>');	document.write('<div id="partylayerhd" style="z-index:100; position:absolute; top:18px; left: 0px; visibility: hidden;">');	document.write('<table width=100% cellpadding=0 cellspacing=0 border=0><tr><td align=center>');	document.write('<table width=750 cellpadding=0 cellspacing=0 border=0 align=center><tr><td width=226><img src="images/pixel.gif" width=226 height=1 border=0></td><td>');	document.write('<div onMouseOver="show(\'partylayer\');show(\'partylayerhd\');" onMouseOut="hide(\'partylayer\');hide(\'partylayerhd\');"><table cellpadding=2 cellspacing=0 border=0>');	document.write('<tr><td class="navtopbutton" nowrap><img src="images/pixel.gif" width=1 height=1 border=0><br><a href="party.htm" class="navtopPartydown">party&nbsp;&nbsp;</a></td></td>');	document.write('</table></div>');	document.write('</td><td valign=top width=100%>&nbsp;</td></tr></table>');	document.write('</td></tr></table>');	document.write('</div>');		document.write('<div id="partylayer" style="z-index:1; position:absolute; top:39px; left: 0px; visibility: hidden;">');	document.write('<table width=100% cellpadding=0 cellspacing=0 border=0><tr><td align=center>');	document.write('<table width=750 cellpadding=0 cellspacing=0 border=0 align=center><tr><td width=226><img src="images/pixel.gif" width=226 height=1 border=0></td><td>');	document.write('<div onMouseOver="show(\'partylayer\');show(\'partylayerhd\')" onMouseOut="hide(\'partylayer\');hide(\'partylayerhd\');"><table cellpadding=0 cellspacing=0 border=0>');	document.write('<tr><td class="topnavline"><img src="images/pixel.gif" width=1 height=1 border=0></td></tr>');	document.write('<tr><td class="navtopsub">');	document.write('<div class="navtopblank"><img src="images/pixel.gif" width=1 height=5 border=0></div>');	document.write('<a href="party.htm" class="' + classtopParty + '">amscan home</a>');	document.write('<a href="party_all.htm" class="' + classtopAllParty + '">all party catalogs</a>');	document.write('<div class="navtopblank"><img src="images/pixel.gif" width=1 height=5 border=0></div>');	document.write('<span class="' + classsidePartyHd + '">everyday</span>');	document.write('<a href="party_everyday.htm" class="' + classsideParty + '">everyday 2007  <span class="new">NEW</span></a>');	document.write('<a href="party_everyday.htm" class="navtopPartysub2">more everyday <span class="new">NEW</span></a>');	document.write('<a href="party_everyday.htm" class="navtopPartysub2">stickers</a>');	document.write('<a href="party_everyday.htm" class="navtopPartysub2">gift bag & gift wrap</a>');	document.write('<a href="party_everyday.htm" class="navtopPartysub2">sesame street</a>');	document.write('<div class="navtopblank"><img src="images/pixel.gif" width=1 height=5 border=0></div>');	document.write('<span class="navtopPartysubnoimage">seasonal</span>');	document.write('<a href="party_everyday.htm" class="navtopPartysub2">late spring/summer 2007 <span class="new">NEW</span></a>');	document.write('<a href="party_everyday.htm" class="navtopPartysub2">spring 2007 <span class="new">NEW</span></a>');	document.write('<a href="party_everyday.htm" class="navtopPartysub2">val plush & easter baskets</a>');	document.write('<a href="party_everyday.htm" class="navtopPartysub2">holiday celebrations</a>');	document.write('<div class="navtopblank"><img src="images/pixel.gif" width=1 height=5 border=0></div>');	document.write('</td></tr></table></div>');	document.write('</td><td valign=top width=100%>&nbsp;</td></tr></table>');	document.write('</td></tr></table>');	document.write('</div>');	document.write('<div id="giftlayerhd" style="z-index:100; position:absolute; top:18px; left: 0px; visibility: hidden;">');	document.write('<table width=100% cellpadding=0 cellspacing=0 border=0><tr><td align=center>');	document.write('<table width=750 cellpadding=0 cellspacing=0 border=0 align=center><tr><td width=294><img src="images/pixel.gif" width=294 height=1 border=0></td><td>');	document.write('<div onMouseOver="show(\'giftlayer\');show(\'giftlayerhd\')" onMouseOut="hide(\'giftlayer\');hide(\'giftlayerhd\')"><table cellpadding=2 cellspacing=0 border=0>');	document.write('<tr><td class="navtopbutton" nowrap><img src="images/pixel.gif" width=1 height=1 border=0><br><a href="gift.htm" class="navtopGiftdown">gift&nbsp;&nbsp;</a></td></td>');	document.write('</table></div>');	document.write('</td><td valign=top width=100%>&nbsp;</td></tr></table>');	document.write('</td></tr></table>');	document.write('</div>');			document.write('<div id="giftlayer" style="z-index:1; position:absolute; top:39px; left: 0px; visibility: hidden;">');	document.write('<table width=100% cellpadding=0 cellspacing=0 border=0><tr><td align=center>');	document.write('<table width=750 cellpadding=0 cellspacing=0 border=0 align=center><tr><td width=294><img src="images/pixel.gif" width=294 height=1 border=0></td><td>');	document.write('<div onMouseOver="show(\'giftlayer\');show(\'giftlayerhd\')" onMouseOut="hide(\'giftlayer\');hide(\'giftlayerhd\')"><table cellpadding=0 cellspacing=0 border=0>');	document.write('<tr><td class="topnavline"><img src="images/pixel.gif" width=1 height=1 border=0></td></tr>');	document.write('<tr><td class="navtopsub">');	document.write('<div class="navtopblank"><img src="images/pixel.gif" width=1 height=5 border=0></div>');	document.write('<a href="gift.htm" class="' + classtopGift + '">grasslands road home</a>');	document.write('<a href="gift_all.htm" class="' + classtopAllGift + '">all gift catalogs</a>');	document.write('<div class="navtopblank"><img src="images/pixel.gif" width=1 height=5 border=0></div>');	document.write('<span class="navtopGiftsubnoimage">everyday</span>');	document.write('<a href="gift_fallgift.htm" class="navtopGiftsub2">in the garden  <span class="new">NEW</span></a>');	document.write('<a href="gift_fallgift.htm" class="navtopGiftsub2">comforts of home <span class="new">NEW</span></a>');	document.write('<a href="gift_fallgift.htm" class="navtopGiftsub2">petpouri <span class="new">NEW</span></a>');	document.write('<a href="gift_fallgift.htm" class="navtopGiftsub2">inspiratic <span class="new">NEW</span></a>');	document.write('<a href="gift_fallgift.htm" class="navtopGiftsub2">making memories</a>');	document.write('<a href="gift_fallgift.htm" class="navtopGiftsub2">home sweet home</a>');	document.write('<a href="gift_fallgift.htm" class="navtopGiftsub2">baby</a>');	document.write('<a href="gift_fallgift.htm" class="navtopGiftsub2">by the sea</a>');	document.write('<a href="gift_fallgift.htm" class="navtopGiftsub2">avignon</a>');	document.write('<a href="gift_fallgift.htm" class="navtopGiftsub2">wedding</a>');	document.write('<div class="navtopblank"><img src="images/pixel.gif" width=1 height=5 border=0></div>');	document.write('<span class="' + classsideGiftHd + '">seasonal</span>');	document.write('<a href="gift_fallgift.htm" class="navtopGiftsub2">holiday traditions 2007 <span class="new">NEW</span></a>');	document.write('<a href="gift_fallgift.htm" class="navtopGiftsub2">romance your home with spring decor</a>');	document.write('<a href="gift_fallgift.htm" class="' + classsideGift + '">fall gift</a>');	document.write('<div class="navtopblank"><img src="images/pixel.gif" width=1 height=5 border=0></div>');	document.write('</td></tr></table></div>');	document.write('</td><td valign=top width=100%>&nbsp;</td></tr></table>');	document.write('</td></tr></table>');	document.write('</div>');		document.write('<div id="aboutlayerhd" style="z-index:100; position:absolute; top:18px; left: 0px; visibility: hidden;">');	document.write('<table width=100% cellpadding=0 cellspacing=0 border=0><tr><td align=center>');	document.write('<table width=750 cellpadding=0 cellspacing=0 border=0 align=center><tr><td width=352><img src="images/pixel.gif" width=352 height=1 border=0></td><td>');	document.write('<div onMouseOver="show(\'aboutlayer\');show(\'aboutlayerhd\')" onMouseOut="hide(\'aboutlayer\');hide(\'aboutlayerhd\')"><table cellpadding=2 cellspacing=0 border=0>');	document.write('<tr><td class="navtopbutton" nowrap><img src="images/pixel.gif" width=1 height=1 border=0><br><a href="aboutus_background.htm" class="navtopAboutdown">about us&nbsp;&nbsp;</a></td></td>');	document.write('</table></div>');	document.write('</td><td valign=top width=100%>&nbsp;</td></tr></table>');	document.write('</td></tr></table>');	document.write('</div>');			document.write('<div id="aboutlayer" style="z-index:1; position:absolute; top:39px; left: 0px; visibility: hidden;">');	document.write('<table width=100% cellpadding=0 cellspacing=0 border=0><tr><td align=center>');	document.write('<table width=750 cellpadding=0 cellspacing=0 border=0 align=center><tr><td width=352><img src="images/pixel.gif" width=352 height=1 border=0></td><td>');	document.write('<div onMouseOver="show(\'aboutlayer\');show(\'aboutlayerhd\')" onMouseOut="hide(\'aboutlayer\');hide(\'aboutlayerhd\')"><table cellpadding=0 cellspacing=0 border=0>');	document.write('<tr><td class="topnavline"><img src="images/pixel.gif" width=1 height=1 border=0></td></tr>');	document.write('<tr><td class="navtopsub">');	document.write('<div class="navtopblank"><img src="images/pixel.gif" width=1 height=5 border=0></div>');	document.write('<a href="aboutus_background.htm" class="' + classsideBackground + '">background information</a>');	document.write('<a href="aboutus_office.htm" class="' + classsideOffice + '">office locations</a>');	document.write('<a href="aboutus_showroom.htm" class="' + classsideShowroom + '">showroom locations</a>');	document.write('<a href="aboutus_subsidiaries.htm" class="' + classsideSubsidiaries + '">subsidiaries</a>');//	document.write('<div class="navtopblank"><img src="images/pixel.gif" width=1 height=5 border=0></div>');//	document.write('<span class="navtopAboutsubdown">subsidiaries</span>');//	document.write('<a href="aboutus_subsidiaries.htm" class="navtopAboutsub">anagram</a>');//	document.write('<a href="aboutus_subsidiaries.htm" class="navtopAboutsub">ya otta pinata</a>');//	document.write('<a href="aboutus_subsidiaries.htm" class="navtopAboutsub">party city</a>');	document.write('<div class="navtopblank"><img src="images/pixel.gif" width=1 height=5 border=0></div>');	document.write('<span class="navtopAboutsubdownnoimage">legal</span>');	document.write('<a href="aboutus_legal_privacy.htm" class="' + classsidePrivacy + '">privacy policy</a>');	document.write('<a href="aboutus_legal_copyright.htm" class="' + classsideCopyright + '">copyright</a>');	document.write('<a href="aboutus_legal_sec.htm" class="' + classsideSEC + '">sec filings</a>');	document.write('<div class="navtopblank"><img src="images/pixel.gif" width=1 height=5 border=0></div>');	document.write('</td></tr></table></div>');	document.write('</td><td valign=top width=100%>&nbsp;</td></tr></table>');	document.write('</td></tr></table>');	document.write('</div>');		document.write('<div id="newslayerhd" style="z-index:100; position:absolute; top:18px; left: 0px; visibility: hidden;">');	document.write('<table width=100% cellpadding=0 cellspacing=0 border=0><tr><td align=center>');	document.write('<table width=750 cellpadding=0 cellspacing=0 border=0 align=center><tr><td width=440><img src="images/pixel.gif" width=440 height=1 border=0></td><td>');	document.write('<div onMouseOver="show(\'newslayer\');show(\'newslayerhd\')" onMouseOut="hide(\'newslayer\');hide(\'newslayerhd\')"><table cellpadding=2 cellspacing=0 border=0>');	document.write('<tr><td class="navtopbutton" nowrap><img src="images/pixel.gif" width=1 height=1 border=0><br><a href="newsevents_advertising.htm" class="navtopNewsdown">news & events&nbsp;&nbsp;</a></td></td>');	document.write('</table></div>');	document.write('</td><td valign=top width=100%>&nbsp;</td></tr></table>');	document.write('</td></tr></table>');	document.write('</div>');			document.write('<div id="newslayer" style="z-index:1; position:absolute; top:39px; left: 0px; visibility: hidden;">');	document.write('<table width=100% cellpadding=0 cellspacing=0 border=0><tr><td align=center>');	document.write('<table width=750 cellpadding=0 cellspacing=0 border=0 align=center><tr><td width=440><img src="images/pixel.gif" width=440 height=1 border=0></td><td>');	document.write('<div onMouseOver="show(\'newslayer\');show(\'newslayerhd\')" onMouseOut="hide(\'newslayer\');hide(\'newslayerhd\')"><table cellpadding=0 cellspacing=0 border=0>');	document.write('<tr><td class="topnavline"><img src="images/pixel.gif" width=1 height=1 border=0></td></tr>');	document.write('<tr><td class="navtopsub">');	document.write('<div class="navtopblank"><img src="images/pixel.gif" width=100 height=5 border=0></div>');	document.write('<a href="newsevents_advertising.htm" class="' + classsideAdvertising + '">advertising</a>');	document.write('<a href="newsevents_editorials.htm" class="' + classsideEditorials + '">editorials</a>');	document.write('<a href="newsevents_calendar.htm" class="' + classsideCalendar + '">calendar</a>');	document.write('<a href="newsevents_pr.htm" class="' + classsidePR + '">press releases</a>');	document.write('<div class="navtopblank"><img src="images/pixel.gif" width=1 height=5 border=0></div>');	document.write('</td></tr></table></div>');	document.write('</td><td valign=top width=100%>&nbsp;</td></tr></table>');	document.write('</td></tr></table>');	document.write('</div>');		document.write('<div id="contactlayerhd" style="z-index:100; position:absolute; top:18px; left: 0px; visibility: hidden;">');	document.write('<table width=100% cellpadding=0 cellspacing=0 border=0><tr><td align=center>');	document.write('<table width=750 cellpadding=0 cellspacing=0 border=0 align=center><tr><td width=563><img src="images/pixel.gif" width=563 height=1 border=0></td><td>');	document.write('<div onMouseOver="show(\'contactlayerhd\')" onMouseOut="hide(\'contactlayerhd\')"><table cellpadding=2 cellspacing=0 border=0>');	document.write('<tr><td class="navtopbuttonall" nowrap><img src="images/pixel.gif" width=1 height=1 border=0><br><a href="contactus.htm" class="navtopContactdown">contact us&nbsp;&nbsp;</a></td></td>');	document.write('</table></div>');	document.write('</td><td valign=top width=100%>&nbsp;</td></tr></table>');	document.write('</td></tr></table>');	document.write('</div>');}function party_side_nav() {	PartysiteName=get_primary_party_nav();	siteName=get_primary_nav();	classsideParty="navsidesubParty";	if (PartysiteName == "/party_everyday")		{ classsideParty="navsidesubPartydown"; }		Partytree="none";	if (siteName == "/party")	{ Partytree="block"; }		document.write('<a href="#" onclick="toggleClassName(this,\'navsideselPartydown\',\'navsideselParty\');showDiv(\'sidenavsub\');return false;" class="navsideselParty">party catalogs</a>');	document.write('<div id="sidenavsub" style="display:' + Partytree + ';">');	document.write('<span class="navsideselPartynoimage">everyday</span>');	document.write('<a href="party_everyday.htm" class="' + classsideParty + '">everyday 2007  <span class="new">NEW</span></a>');	document.write('<a href="party_everyday.htm" class="navsidesubParty">more everyday <span class="new">NEW</span></a>');	document.write('<a href="party_everyday.htm" class="navsidesubParty">stickers</a>');	document.write('<a href="party_everyday.htm" class="navsidesubParty">gift bag & gift wrap</a>');	document.write('<a href="party_everyday.htm" class="navsidesubParty">sesame street</a>');	document.write('<img src="images/pixel.gif" width=1 height=5 border=0><br>');	document.write('<span class="navsideselPartynoimage">seasonal</span>');	document.write('<a href="party_everyday.htm" class="navsidesubParty">late spring/summer 2007 <span class="new">NEW</span></a>');	document.write('<a href="party_everyday.htm" class="navsidesubParty">spring 2007 <span class="new">NEW</span></a>');	document.write('<a href="party_everyday.htm" class="navsidesubParty">val plush & easter baskets</a>');	document.write('<a href="party_everyday.htm" class="navsidesubParty">holiday celebrations</a>');	document.write('</div> ');	document.write('<a href="party_merchandising_solutions.htm" class="navsideselParty">merchandising solutions</a>');	document.write('<a href="aboutus_office.htm" class="navside">office locations</a>');	document.write('<a href="aboutus_showroom.htm" class="navside">showroom locations</a>');	document.write('<a href="newsevents_calendar.htm" class="navside">trade show calendar</a>');}function gift_side_nav() {	GiftsiteName=get_primary_gift_nav();	siteName=get_primary_nav();	classsideGift="navsidesubGift";	if (GiftsiteName == "/gift_fallgift")		{ classsideGift="navsidesubGiftdown"; }		Gifttree="none";	if (siteName == "/gift")	{ Gifttree="block"; }	document.write('<a href="#" onclick="toggleClassName(this,\'navsideselGiftdown\',\'navsideselGift\',\'navsideselParty\');showDiv(\'sidenavsub\');return false;" class="navsideselGift">gift catalogs</a>');	document.write('<div id="sidenavsub" style="display:' + Gifttree + ';">');	document.write('<span class="navsideselGiftnoimage">everyday</span>');	document.write('<a href="gift_fallgift.htm" class="navsidesubGift">in the garden  <span class="new">NEW</span></a>');	document.write('<a href="gift_fallgift.htm" class="navsidesubGift">comforts of home <span class="new">NEW</span></a>');	document.write('<a href="gift_fallgift.htm" class="navsidesubGift">petpouri <span class="new">NEW</span></a>');	document.write('<a href="gift_fallgift.htm" class="navsidesubGift">inspiratic <span class="new">NEW</span></a>');	document.write('<a href="gift_fallgift.htm" class="navsidesubGift">making memories</a>');	document.write('<a href="gift_fallgift.htm" class="navsidesubGift">home sweet home</a>');	document.write('<a href="gift_fallgift.htm" class="navsidesubGift">baby</a>');	document.write('<a href="gift_fallgift.htm" class="navsidesubGift">by the sea</a>');	document.write('<a href="gift_fallgift.htm" class="navsidesubGift">avignon</a>');	document.write('<a href="gift_fallgift.htm" class="navsidesubGift">wedding</a>');	document.write('<img src="images/pixel.gif" width=1 height=5 border=0><br>');	document.write('<span class="navsideselGiftnoimage">seasonal</span>');	document.write('<a href="gift_fallgift.htm" class="navsidesubGift">holiday traditions 2007 <span class="new">NEW</span></a>');	document.write('<a href="gift_fallgift.htm" class="navsidesubGift">romance your home with<br>spring decor</a>');	document.write('<a href="gift_fallgift.htm" class="' + classsideGift + '">fall gift</a>');	document.write('</div> ');	document.write('<a href="gift_merchandising_solutions.htm" class="navsideselGift">merchandising solutions</a>');	document.write('<a href="aboutus_office.htm" class="navside">office locations</a>');	document.write('<a href="aboutus_showroom.htm" class="navside">showroom locations</a>');	document.write('<a href="newsevents_calendar.htm" class="navside">trade show calendar</a>');}function aboutus_side_nav() {	AboutussiteName=get_primary_aboutus_nav();	LegalsiteName=get_primary_legal_nav();	siteName=get_primary_nav();	classsideLegal="navside";	classsideSubs="navside";	classsidePrivacy="navsidesubParty";	classsideCopyright="navsidesubParty";	classsideSEC="navsidesubParty";	Legaltree="none";	Substree="none";	if (AboutussiteName == "legal")			{ classsideLegal="navsidedown"; Legaltree="block"; }	if (AboutussiteName == "subsidiaries")	{ classsideSubs="navsidedown"; Substree="block"; }	if (LegalsiteName == "privacy")			{ classsidePrivacy="navsidesubPartydown"; }	if (LegalsiteName == "copyright")		{ classsideCopyright="navsidesubPartydown"; }	if (LegalsiteName == "sec")				{ classsideSEC="navsidesubPartydown"; }	document.write('<a href="aboutus_background.htm" class="navside">background information</a>');	document.write('<a href="aboutus_office.htm" class="navside">office locations</a>');	document.write('<a href="aboutus_showroom.htm" class="navside">showroom locations</a>');	document.write('<a href="aboutus_subsidiaries.htm" class="navside">subsidiaries</a>');//	document.write('<a href="#" onClick="showDiv(\'sidenavsub\');return false;" class="' + classsideSubs + '">subsidiaries</a>');//	document.write('<div id="sidenavsub" style="display:' + Substree + ';">');//	document.write('<a href="aboutus_subsidiaries.htm" class="navsidesubParty">anagram</a>');//	document.write('<a href="aboutus_subsidiaries.htm" class="navsidesubParty">ya otta pinata</a>');//	document.write('<a href="aboutus_subsidiaries.htm" class="navsidesubParty">party city</a>');//	document.write('</div> ');	document.write('<a href="#" onClick="showDiv(\'sidenavsublegal\');return false;" class="' + classsideLegal + '">legal</a>');	document.write('<div id="sidenavsublegal" style="display:' + Legaltree + ';">');	document.write('<a href="aboutus_legal_privacy.htm" class="' + classsidePrivacy + '">privacy policy</a>');	document.write('<a href="aboutus_legal_copyright.htm" class="' + classsideCopyright + '">copyright</a>');	document.write('<a href="aboutus_legal_sec.htm" class="' + classsideSEC + '">sec filings</a>');	document.write('</div> ');}function contactus_side_nav() {	document.write('<a href="aboutus_office.htm" class="navside">office locations</a>');	document.write('<a href="aboutus_showroom.htm" class="navside">showroom locations</a>');}function news_side_nav() {	NewseventssiteName=get_primary_newsevents_nav();	siteName=get_primary_nav();	classsidePR="navside";	classsideEditorials="navside";	classsideAdvertising="navside";	classsideCalendar="navside";	if (NewseventssiteName == "_pr.")				{ classsidePR="navsidedown"; }	if (NewseventssiteName == "editorials")		{ classsideEditorials="navsidedown"; }	if (NewseventssiteName == "advertising")		{ classsideAdvertising="navsidedown"; }	if (NewseventssiteName == "calendar")			{ classsideCalendar="navsidedown"; }	document.write('<a href="newsevents_advertising.htm" class="' + classsideAdvertising + '">advertising</a>');	document.write('<a href="newsevents_editorials.htm" class="' + classsideEditorials + '">editorials</a>');	document.write('<a href="newsevents_calendar.htm" class="' + classsideCalendar + '">calendar</a>');	document.write('<a href="newsevents_pr.htm" class="' + classsidePR + '">press releases</a>');}function footer() {	document.write('<a href="index.htm" class="footer">amscan inc. home</a>  | <a href="sitemap.htm" class="footer">site map</a>  | <a href="contactus.htm" class="footer">contact us</a>  |  <a href="aboutus_legal_privacy.htm" class="footer">legal</a> &nbsp; &nbsp;&copy; ' + dateMsg() + ' amscan inc. all rights reserved<br>&nbsp;');}function logos_bot_left() {	siteName=get_primary_nav();	if (siteName == "/party")	{ 		document.write('<div id="logosbotleft"><center>');		document.write('<a href="index.htm"><img src="images/logo_amscan_left.gif" width=120 border=0 vspace=5></a><br><br>');		document.write('<a href="gift.htm"><img src="images/logo_gift_left.gif" width=112 border=0 vspace=5></a>');		document.write('</center></div>');	}	else if (siteName == "/gift")	{ 		document.write('<div id="logosbotleft"><center>');		document.write('<a href="index.htm"><img src="images/logo_amscan_left.gif" width=120 border=0 vspace=5></a><br><br>');		document.write('<a href="party.htm"><img src="images/logo_party_left.gif" width=120 border=0 vspace=5></a>');		document.write('</center></div>');	}	else	{ 		document.write('<div id="logosbotleft"><center>');		document.write('<a href="party.htm"><img src="images/logo_party_left.gif" width=120 border=0 vspace=5></a><br><br>');		document.write('<a href="gift.htm"><img src="images/logo_gift_left.gif" width=112 border=0 vspace=5></a>');		document.write('</center></div>');	}}