// JavaScript Document

function getURL(theUrl){
  document.location.href = theUrl;
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function addToCart(args){
	//alert(args);
	var sendText = args.value;
	window.document.header_swf.SetVariable("vItem", args);
}

function setSWFDimensions(objID, width, height) {
	if (objID && width && height) {
		var fObj = document.getElementById(objID);
		var fEmb = document.getElementById(objID+'-embed');
		if (fObj && fObj.style) {
			fObj.setAttribute('width', width);
			fObj.setAttribute('height', height);
			fObj.style.width = width+'px';
			fObj.style.height = height+'px';
		}
		if (fEmb != null) {
			fEmb.width = width;
			fEmb.height = height;
			if (fEmb.style) {
				fEmb.style.width = width+'px';
				fEmb.style.height = height+'px';
			}
		}
	}
}