// JavaScript Document

var newWindow ;
var pageImage ;
var pageTitle ;
var pageClip ;
var	loadX ;
var loadY ;
var deltaX ;
var deltaY ;
var width ;
var height ;
var	baseImageX = 0, baseImageY = 0 ;
var baseImage2X = 0, baseImage2Y = 0 ;
var titlePosX, titlePosY ;
var photoPosX, photoPosY ;
var photoPos2X, photoPos2Y ;
var currentImage = null ;
var soundWindow = null ;
var	lastDrawn ;
var	lastSound ;
var g_region = "US" ;
var baseStoreURL = "https://www.paypal.com/cart/business=stuff@kidamericaclub.com&add=1&no_note=1&currency_code=USD&bn=PP-ShopCartBF" ;
var rewrittenURL ;

function createNewWindow( image, title )
{
	if (newWindow) newWindow.close() ;
	newWindow = null ;
	pageImage = image ;
	pageTitle = title ;
//	newWindow = window.open( "", "", "height=420,width=590,resizable=no,dependent=yes" ) ;
	sizedPopup( "", 580, 420 ) ;
	setTimeout( "writeToWindow()", 50 ) ;
//	writeToWindow( image, title ) ;
}


function writeToWindow()
{
	var	content = "<html><head><title>" + pageTitle + "<\/title><\/head><center><body>" ;
	content += "<img src=\"TV5.gif\" width=\"580\" height=\"420\" border=\"0\" style=\"position:absolute;top:0;left:0;visibility:visible\"\/>" ;
	content += "<object classid=\"clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B\" codebase=\"http://www.apple.com/qtactivex/qtplugin.cab\" height=\"315\" width=\"400\" style=\"position:absolute;top:41px;left:51px;visibility:visible\">" ;
	content += "<param name=\"src\" value=\"" + pageImage + "\"\/>" ;
	content += "<param name=\"autoplay\" value=\"true\"\/>" ;
	content += "<embed src=\"" + pageImage + "\" width=\"400\" height=\"315\" autostart=\"True\"><\/embed>" ;
	content += "<\/object>" ;
	content += "<\/body><\/center><\/html>" ;
	
	newWindow.document.write( content ) ;
	newWindow.document.close() ;
}

function TV(image,title)
{
	createNewWindow(image,title) ;
}

function Boombox( clip, title )
{
//	if (newWindow) newWindow.close() ;
//	newWindow = null ;
	pageClip = clip ;
	pageTitle = title ;
//	newWindow = window.open( "", "", "height=420,width=590,resizable=no,dependent=yes" ) ;
//	sizedPopup( "", 590, 420 ) ;
//	setTimeout( "writeToBoombox()", 50 ) ;
//	writeToWindow( image, title ) ;
	drawBoombox() ;
}


function drawBoombox()
{
	if (newWindow) newWindow.close() ;
	newWindow = null ;
	sizedPopup( "", 590, 420 ) ;
	setTimeout( "writeToBoombox()", 50 ) ;
}


function writeToBoombox()
{
	var	content = "<html><head><title>" + pageTitle + "<\/title><\/head><center><body>" ;
	content += "<img src=\"Boombox2.gif\" width=\"580\" height=\"410\" border=\"0\" style=\"position:absolute;top:0;left:0;visibility:visible\"\/>" ;
	content += "<object classid=\"clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B\" codebase=\"http://www.apple.com/qtactivex/qtplugin.cab\" height=\"16\" width=\"400\" style=\"position:absolute;top:106px;left:100px;visibility:visible\">" ;
	content += "<param name=\"src\" value=\"" + pageClip + "\"\/>" ;
	content += "<param name=\"autoplay\" value=\"true\"\/>" ;
	content += "<embed src=\"" + pageClip + "\" width=\"400\" height=\"16\" autostart=\"True\"><\/embed>" ;
	content += "<\/object>" ;
	content += "<\/body><\/center><\/html>" ;
	
	newWindow.document.write( content ) ;
	newWindow.document.close() ;
}

var Slides = new Array() ;
function slideShowImages()
{
	for (i=0; i<slideShowImages.arguments.length; i++)
	{
		var		image = new Image() ;
		image.src = slideShowImages.arguments[i] ;
		Slides[i] = slideShowImages.arguments[i] ;
	}
}

var currentSlide = 0 ;
function nextSlide()
{
	if (!document.images) return ;
	if (document.images.photo)
		document.images["photo"].style.visibility = "hidden" ;
	if (currentSlide < Slides.length-1)
		currentSlide++ ;
	else
		currentSlide = 0 ;
	showSlide() ;
//	return true ;
}

function prevSlide()
{
	if (!document.images) return ;
	if (document.images.photo)
		document.images["photo"].style.visibility = "hidden" ;
	if (currentSlide > 0)
		currentSlide-- ;
	else
		currentSlide = Slides.length - 1 ;
	showSlide() ;
}

function showSlide()
{
	if (!document.images) return ;
	document.images["photo"].src = Slides[currentSlide] ;
//	document.images["photo"] = Slides[currentSlide] ;
	document.images["photo"].style.left = (baseImageX + photoPosX) + 'px' ;
	document.images["photo"].style.top = (baseImageY + photoPosY) + 'px' ;
	document.images["photo"].style.visibility = "visible" ;
}

var Slides2 = new Array() ;
function slideShowImages2()
{
	for (i=0; i<slideShowImages2.arguments.length; i++)
	{
		var		image = new Image() ;
		image.src = slideShowImages2.arguments[i] ;
		Slides2[i] = slideShowImages2.arguments[i] ;
	}
}

var currentSlide2 = 0 ;
function nextSlide2()
{
	if (!document.images) return ;
	if (document.images.photo2)
		document.images["photo2"].style.visibility = "hidden" ;
	if (currentSlide2 < Slides2.length-1)
		currentSlide2++ ;
	else
		currentSlide2 = 0 ;
	showSlide2() ;
//	return true ;
}

function prevSlide2()
{
	if (!document.images) return ;
	if (document.images.photo2)
		document.images["photo2"].style.visibility = "hidden" ;
	if (currentSlide2 > 0)
		currentSlide2-- ;
	else
		currentSlide2 = Slides2.length - 1 ;
	showSlide2() ;
}

function showSlide2()
{
	if (!document.images) return ;
	document.images["photo2"].src = Slides2[currentSlide2] ;
//	document.images["photo"] = Slides[currentSlide] ;
	document.images["photo2"].style.left = (baseImage2X + photoPos2X) + 'px' ;
	document.images["photo2"].style.top = (baseImage2Y + photoPos2Y) + 'px' ;
	document.images["photo2"].style.visibility = "visible" ;
}
function animate( img, x, y, video, caption )
{
	if (!document.images) return false ;
	stopAnimate() ;
	document.images["hilite"].src = img ;
	document.images["hilite"].style.top = y + 'px' ;
	document.images["hilite"].style.left = x + 'px' ;
	document.images["hilite"].style.visibility = "visible" ;
	document.images["hilite"].onmouseout = stopAnimate ;
	document.images["hilite"].onclick = showMovie ;
	pageTitle = caption ;
	pageClip = video ;
	return true ;
}

function animate2( img, x, y, video, caption, title, clickFunction )
{
	if (!document.images) return false ;
//	if (img == currentImage) return true ;
	stopAnimate() ;
	if (img)
	{
		var	newX = x + baseImageX ;
		var	newY = y + baseImageY ;
		document.images["hilite"].src = img ;
//		document.images["hilite"] = img ;
		document.images["hilite"].style.top = newY + 'px' ;
		document.images["hilite"].style.left = newX + 'px' ;
		document.images["hilite"].style.visibility = "visible" ;
		document.images["hilite"].onmouseout = leave ;
//		if (video.length > 0)
//			document.images["hilite"].onclick = showMovie ;
			document.images["hilite"].onclick = clickFunction ;
//		else
//			document.images["hilite"].onclick = null ;
	}
	showTitle( title ) ;	
	pageTitle = caption ;
	pageClip = video ;
	currentImage = img ;
	return true ;
}

function stopAnimate()
{
	if (!document.images) return false ;
	if (document.images["hilite"])
		document.images["hilite"].style.visibility = "hidden" ;
	if (document.images["title"])
		document.images["title"].style.visibility = "hidden" ;
	currentImage = null ;
//	stopSound() ;
	return true ;
}

function showMovie()
{
//	alert( "showMovie()" ) ;
//	stopAnimate() ;
	leave() ;
	createNewWindow( pageClip, pageTitle ) ;
//	return true ;
}

function handleResize()
{
	getDimensions() ;
	deltaX = width - loadX ;
	deltaY = height - loadY ;
	loadX = width ;
	loadY = height ;
	var newX = baseImageX + deltaX / 2 ;
	var newY = baseImageY + deltaY / 2 ;
	setBaseImage( newX, newY ) ;
	showSlide() ;
}

function getDimensions()
{
	if (window.innerWidth != null)
	{
		width = window.innerWidth ;
		height = window.innerHeight ;
	}
	else
	{
		width = document.body.clientWidth ;
		height = document.body.clientHeight ;
	}
}
	
function setBaseImage( x, y )
{
	baseImageX = x ;
	baseImageY = y ;
	if (document.images.main)
	{
		document.images["main"].style.left = x + 'px' ;
		document.images["main"].style.top = y + 'px' ;
	}
}

function setBaseImage2( x, y )
{
	baseImage2X = x ;
	baseImage2Y = y ;
	if (document.images.main)
	{
		document.images["main"].style.left = x + 'px' ;
		document.images["main"].style.top = y + 'px' ;
	}
}

function setTitlePosition( x, y )
{
	titlePosX = x ;
	titlePosY = y ;
}

function showTitle( title )
{
	if (title)
	{
		var	newX = baseImageX + titlePosX ;
		var	newY = baseImageY + titlePosY ;
		document.images["title"].src = title ;
//		document.images["title"] = title ;
		document.images["title"].style.left = newX + 'px' ;
		document.images["title"].style.top = newY + 'px' ;
		document.images["title"].style.visibility = "visible" ;
	}
	return true ;
}

function setPhotoPosition( x, y )
{
	photoPosX = x ;
	photoPosY = y ;
}

function setPhotoPosition2( x, y )
{
	photoPos2X = x ;
	photoPos2Y = y ;
}

function setupResize()
{
	window.onresize = handleResize ;
	getDimensions() ;
	loadX = width ;
	loadY = height ;
}

function sizedPopup( html, width, height )
{
	var	params = "height=" + height + ",width=" + width + ",resizable=no,dependent=yes" ;
	var	originX, originY ;
	if (window.screenX != null  && window.outerWidth)
	{
		originX = (window.outerWidth - width) / 2 + window.screenX ;
		originY = (window.outerHeight - height) / 2 + window.screenY ;
	}
	else
	{
		if (window.screenLeft)
		{
			if (document.documentElement)
			{
				originX = (document.documentElement.offsetWidth - width) / 2 + window.screenLeft ;
				originY = (document.documentElement.offsetHeight - height) / 2 + window.screenTop ;
			}
			else if (document.body && document.body.offsetWidth)
			{
				originX = (document.body.offsetWidth - width) / 2 + window.screenLeft ;
				originY = (document.body.offsetHeight - height) / 2 + window.screenTop ;
			}
		}
	}
			
	params += "screenX=" + originX + ",screenY=" + originY + ",left=" + originX + ",top=" + originY ;
	if (newWindow) newWindow.close() ;
	newWindow = null ;
	newWindow = window.open( html, "", params ) ;
	newWindow.focus() ;
//	newWindow.moveTo( originX, originY ) ;
}

function movieWithCaption( img, x, y, video, caption )
{
	if (!document.images) return false ;
	stopAnimate() ;
	var	newX = x + baseImageX ;
	var	newY = y + baseImageY ;
	document.images["hilite"].src = img ;
	document.images["hilite"].style.top = newY + 'px' ;
	document.images["hilite"].style.left = newX + 'px' ;
	document.images["hilite"].style.visibility = "visible" ;
	pageTitle = caption ;
	pageClip = video ;
	return true ;
}


function playSound( soundClip )
{
/*	
	if (soundWindow) soundWindow.close() ;
	if (!soundClip) return ;
	
	var	content = "<html><body>" ;
	content += "<object classid=\"clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B\" codebase=\"http://www.apple.com/qtactivex/qtplugin.cab\">" ;
	content += "<param name=\"src\" value=\"" + soundClip + "\"\/>" ;
	content += "<param name=\"autoplay\" value=\"true\"\/>" ;
	content += "<embed src=\"" + soundClip + "\" autostart=\"True\" controller=\"False\"><\/embed>" ;
	content += "<\/object>" ;
	content += "<\/body><\/html>" ;
	
	soundWindow = window.open( "", "", "location=no,toolbar=no,scrollbars=no,top=3000,left=3000,width=2,height=2,resizable=no,dependent=yes" ) ;
	soundWindow.blur() ;
	soundWindow.document.write( content ) ;
	soundWindow.document.close() ;
*/
//	document.click.SetVariable( 'volume', 100 ) ;
	if (soundClip)
	{
		eval( 'document.' + soundClip + '.Rewind()' ) ;
		eval( 'document.' + soundClip + '.Play()' ) ;
		lastSound = soundClip ;
	}
}

function stopSound()
{
/*	
	if (soundWindow)
	{
		soundWindow.close() ;
		soundWindow = null ;
	}
	return true ;
*/
	if (lastSound)
	{
		eval( 'document.' + lastSound + '.Rewind()' ) ;
		lastSound = null ;
	}
}

function ActiveArea( name, x, y, highlightImage, titleImage, videoClip, videoTitle, soundClip, clickFunction, pageURL, width, height )
{
	this.name = name ;
	this.x = x ;
	this.y = y ;
	if (highlightImage)
	{
//		var		image = new Image() ;
//		image.src = highlightImage ;
//		this.highlightImage = new Image() ;
//		this.highlightImage.src = highlightImage ;
		this.highlightImage = highlightImage ;
//		this.highlightImage.border = 0 ;
//		this.highlightImage.style.visibility = "hidden" ;
//		this.highlightImage.style.position = "absolute" ;
	}
	if (titleImage)
	{
//		var		image = new Image() ;
//		image.src = titleImage ;
//		this.titleImage = new Image() ;
//		this.titleImage.src = titleImage ;
		this.titleImage = titleImage ;
//		this.titleImage.border = 0 ;
//		this.titleImage.style.visibility = "hidden" ;
//		this.titleImage.style.position = "absolute" ;
	}
	this.videoClip = videoClip ;
	this.videoTitle = videoTitle ;
	this.soundClip = soundClip ;
	this.drawn = false ;
	this.clickFunction = clickFunction ;
	this.pageURL = pageURL ;
	this.width = width ;
	this.height = height ;
}

var	ActiveAreas = new Object() ;
function addArea( name, highlightImage, x, y, videoClip, videoTitle, titleImage, soundClip, pageURL, width, height )
{
	ActiveAreas[name] = new ActiveArea( name, x, y, highlightImage, titleImage, videoClip, videoTitle, soundClip, videoClip.length > 0 ? showMovie : null, pageURL, width, height ) ;
}

function addAreaFunction( name, highlightImage, x, y, videoClip, videoTitle, titleImage, soundClip, clickFunction, pageURL, width, height )
{
	ActiveAreas[name] = new ActiveArea( name, x, y, highlightImage, titleImage, videoClip, videoTitle, soundClip, clickFunction, pageURL, width, height  ) ;
}



function rollOver( name )
{
	if (!ActiveAreas[name]) return false ;
	var	area = ActiveAreas[name] ;
	if (area.drawn) return true ;
	if (lastDrawn != null)
	{
		stopSound() ;
		stopAnimate() ;
		if (ActiveAreas[lastDrawn])
			ActiveAreas[lastDrawn].drawn = false ;
		lastDrawn = null ;	
	}
	animate2( area.highlightImage, area.x, area.y, area.videoClip, area.videoTitle, area.titleImage, area.clickFunction ) ;
	playSound( area.soundClip ) ;
	area.drawn = true ;
	lastDrawn = name ;
	window.focus() ;
	return true ;
}

function rollOverLink( name )
{
	if (!ActiveAreas[name]) return false ;
	var	area = ActiveAreas[name] ;
	if (area.drawn) return true ;
	if (lastDrawn != null)
	{
		stopSound() ;
		stopAnimate() ;
		if (ActiveAreas[lastDrawn])
			ActiveAreas[lastDrawn].drawn = false ;
		lastDrawn = null ;	
	}
	if (!document.images) return false ;
	stopAnimate() ;
	if (area.highlightImage)
	{
		var	newX = area.x + baseImageX ;
		var	newY = area.y + baseImageY ;
		document.images["hilite"].src = area.highlightImage ;
		document.images["hilite"].style.top = newY + 'px' ;
		document.images["hilite"].style.left = newX + 'px' ;
		document.images["hilite"].style.visibility = "visible" ;
		document.images["hilite"].onmouseout = leave ;
		if (area.videoClip.length > 0)
			document.images["hilite"].onclick = followLink ;
		else
			document.images["hilite"].onclick = null ;
	}
	pageClip = area.videoClip ;
	currentImage = area.highlightImage ;
	playSound( area.soundClip ) ;
	area.drawn = true ;
	lastDrawn = name ;
	window.focus() ;
	return true ;
}

function leave()
{
	stopSound() ;
	stopAnimate() ;
	if (lastDrawn != null && ActiveAreas[lastDrawn])
		ActiveAreas[lastDrawn].drawn = false ;
	lastDrawn = null ;
//	window.focus() ;
	return true ;
}

function resetImages()
{
	for (i=0; i<ActiveAreas.length; i++)
	{
		ActiveAreas[i].drawn = false ;
	}
	stopSound() ;
	stopAnimate() ;
	lastDrawn = null ;
}


function addSound( name, file )
{
	var string = null ;
	string = "<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0\" width=\"18\" height=\"18\" " ;
	string += "id=\"" + name + "\">" ;
	string += "<param name=\"movie\" value=\"" + file + "\"/>" ;
	string += "<param name=\"quality\" value=\"high\" />" ;
	string += "<param name=\"LOOP\" value=\"false\" />" ;
	string += "<param name=\"PLAY\" value=\"false\" />" ;
	string += "<param name=\"volume\" value=\"700\" />" ;
	string += "<embed src=\"" + file + "\" width=\"0\" height=\"0\" loop=\"false\" quality=\"high\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\" play=\"false\" swliveconnect=\"true\" volume=\"700\"	" ;
	string += "name=\"" + name + "\">" ;
	string += "</embed></object>" ;
	document.write( string ) ;
}

function followLink()
{
	location.href = pageClip ;
}

function popupWindow()
{
	if (!lastDrawn) return ;
	var area = ActiveAreas[lastDrawn] ;
	sizedPopup( area.pageURL, area.width, area.height ) ;
}

function buyIt( URL )
{
	var color = document.stuff.Color.value ;
	var size = document.stuff.Size.value ;
//	var region = document.stuff.Region.value ;
//	if (color.indexOf("Select") != -1 || size.indexOf("Select") != -1 || region.indexOf("Region") != -1)
//		alert( "You must enter a size and color and your region" ) ;
	if (color.indexOf("Select") != -1 || size.indexOf("Select") != -1)
		alert( "You must enter a size, color, and region" ) ;
	else
	{
//		saveRegion() ;
		opener.document.location.href = URL + "&on0=Color&on1=Size" + "&os0=" + escape( color ) + "&os1=" + escape( size ) ;
		window.focus() ;
		window.close() ;
	}
}

function closeAndGoto( URL )
{
//	if (URL)
	{
		opener.document.location.href = URL ;
		window.focus() ;
		window.close() ;
	}
}

function iframeGoto( URL )
{
	parent.document.location.href = URL ;
}

function getCookie( name )
{
//	alert( "getCookie = " + document.cookie ) ;
	var arg = name + "=" ;
//	alert( "arg = " + arg ) ;
	var	alen = arg.length ;
	var clen = document.cookie.length ;
	var i = 0 ;
	while (i < clen)
	{
		var j = i + alen ;
		if (document.cookie.substring( i, j ) == arg)
		{
			
			var result = getCookieVal( j ) ;
//			alert( "value = " + result ) ;
			return result ;
		}
		i = document.cookie.indexOf( " ", i ) + 1 ;
		if (i == 0) break ;
	}
	return "" ;
}

function getCookieVal( offset )
{
	var endstr = document.cookie.indexOf( ";", offset ) ;
	if (endstr == -1)
		endstr = document.cookie.length ;
	return unescape( document.cookie.substring( offset, endstr ) ) ;
}

function setCookie( name, value, expires, path, domain, secure )
{
	document.cookie = name + "=" + escape( value ) +
		((expires) ? "; expires=" + expires : "") +
		((path) ? "; path=" + path : "") +
//		((domain) ? "; domain=" + domain : "") +
		"; domain=.kidamericaclub.com" +
		((secure) ? "; secure" : "") ;
//	alert( "setCookie = " + document.cookie ) ;
}

function loadRegion()
{
//	alert( "loadRegion" ) ;
	var data = getCookie( "Region" ) ;
//	alert( "loadRegion - " + data ) ;
	if (data)
	{
		g_region = data ;
		document.stuff.Region.value = data ;
//		alert( "g_region = " + g_region ) ;
	}
}

function saveRegion()
{
	var data = document.stuff.Region.value ;
//	alert( "saveRegion - " + data ) ;
	setCookie( "Region", data ) ;
}

function gotoStore( URL )
{
	var region = document.stuff.Region.value ;
	if (region.indexOf("Region") != -1)
		alert( "You must select a region" ) ;
	else
	{
		saveRegion() ;
		document.location.href = URL ;
	}
}
	

function storeItem( name, cost, validator, shipping )
{
	this.name = name ;
	this.cost = cost ;
	this.validator = validator ;
	this.shipping = shipping ;
}

var	storeItems = new Object() ;
function addStoreItem( name, cost, validator, shipping )
{
	storeItems[name] = new storeItem( name, cost, validator, shipping ) ;
//	for (i=3; i<arguments.length; i+=2)
//	{
//		storeItems[name].shipping[arguments[i]] = arguments[i+1] ;
//	}
}


function buyItem( name )
{
	rewrittenURL = baseStoreURL ;
	if (storeItems[name].validator == null || (storeItems[name].validator && storeItems[name].validator()))
	{
		var URL = rewrittenURL + 
			"&item_name=" + escape( storeItems[name].name ) +
			"&amount=" + escape( storeItems[name].cost ) +
			"&shipping=" + escape( storeItems[name].shipping[g_region] ) ;
//		alert( "URL = " + URL ) ;
		if (opener)
		{
			opener.document.location.href = URL ;
			window.focus() ;
			window.close() ;
		}
		else
			document.location.href = URL ;
	}
}

	
function clothingOK()
{
	var color = document.stuff.Color.value ;
	var size = document.stuff.Size.value ;
	if (color.indexOf("Select") != -1 || size.indexOf("Select") != -1)
	{
		alert( "You must enter a size, color, and region" ) ;
		return false ;
	}
	else
	{
		rewrittenURL = rewrittenURL + "&on0=Color&on1=Size" + "&os0=" + escape( color ) + "&os1=" + escape( size ) ;
		return true ;
	}	
}

function OK()
{
	return true ;
}


var shipping1 = new Array() ;
var shipping2 = new Array() ;
var shipping3 = new Array() ;
var shipping4 = new Array() ;

function initializeShipping()
{
	shipping1["US"] = "6.00" ;
	shipping1["Canada"] = "6.00" ;
	shipping1["Japan"] = "11.00" ;
	shipping1["China"] = "11.00" ;
	shipping1["South America"] = "10.00" ;	
	shipping1["Europe"] = "10.00" ;
	shipping1["Singapore"] = "11.00" ;

	shipping2["US"] = "7.00" ;
	shipping2["Canada"] = "7.00" ;
	shipping2["Japan"] = "13.00" ;
	shipping2["China"] = "13.00" ;
	shipping2["South America"] = "12.00" ;
	shipping2["Europe"] = "12.00" ;
	shipping2["Singapore"] = "13.00" ;


	shipping3["US"] = "10.00" ;
	shipping3["Canada"] = "10.00" ;
	shipping3["Japan"] = "18.00" ;
	shipping3["China"] = "20.00" ;
	shipping3["South America"] = "17.00" ;
	shipping3["Europe"] = "17.00" ;
	shipping3["Singapore"] = "20.00" ;


	shipping4["US"] = "2.00" ;
	shipping4["Canada"] = "2.00" ;
	shipping4["Japan"] = "3.00" ;
	shipping4["China"] = "3.00" ;
	shipping4["South America"] = "3.00" ;
	shipping4["Europe"] = "3.00" ;
	shipping4["Singapore"] = "3.00" ;


}

