<!--

var orighomemain

if (document.getElementById('homemain') != undefined)
{
orighomemain = document.getElementById('homemain').innerHTML;
}
else
{
orighomemain = '';
}

//alert(orighomemain);

/*
function ProductDetail(id,sport) 
{
var tempproductdisplayhtml

tempproductdisplayhtml = '<table cellpadding="0" cellspacing="0" border="0" width="300"><tr><td><img src="images/pixel_clear.gif" width="300" height="1" border="0" alt=""><br>';
tempproductdisplayhtml = '#teamname# #price# <br><img src="images/pixel_clear.gif" width="1" height="5" border="0" alt=""></td></tr></table>';
*/


function ProductDetail(id,sport) 
{

var in_id

in_id = eval('document.frmGetDesigns' + sport + '.team.value');

//alert(in_id.lastIndexOf("~"));
in_id = in_id.substr(in_id.lastIndexOf("~")+1)

Ajax_ProductDetail(in_id);

}//end  ProductDetail


function Ajax_ProductDetail(in_id)
{

var theid, executepage, refreshthispage, pagerefresh_seconds, formname, POSTorGET, responseFormat, orighomemain



//alert('in Ajax_ProductDetail function -' + in_id + '-');

executepage = 'includes/ajax_product_detail.cfm?in_id=' + in_id;

//alert(executepage);
//refreshthispage = true; 
//pagerefresh_seconds = 5;
//formname = 'frmTest';
formname = ''; // not using post/form variables
POSTorGET = 'GET';
responseFormat = 'text'; // 'text', 'xml' or 'object'

	
	var postResultAjax = function(str)
	{
	

	//alert('-' + str + '-');
		

	document.getElementById('samandsally').innerHTML = '&nbsp;';
	document.getElementById('homemain').innerHTML = str;

		/*
		if (TrimString(str) != '' && TrimString(str) != 'No access.'  && TrimString(str) != 'exists')
		{
		//alert(' str -' + str + '-'); 
		}
		*/
		/*
		else
		{
		alert('uuid not set');
		}
		*/
		
	}// postResultAjax

	var ajax = new Ajax(POSTorGET,formname,responseFormat);

	//ajax.doGet('fakeserver.cfm', processHandle);

//in ajax js page this method looks like this - this.doGet = function(url, hand, format)
//alert('making call');
 ajax.doGet(executepage, postResultAjax, responseFormat);
//alert('after call');
}



/*
alert('tttt');

var idName, positionType, containerVisibility, topPosition, leftPosition, zPosition, containerContent, mouseControl, containerBGColor, clientName

// Do not use "-" in your idName, they do not work in NN4, you can use "_" instead
idName = "productdetailframe";
clientName = "";
positionType = "absolute";
//positionType = "relative";
//containerVisibility = "hidden";
containerVisibility = "visible";
leftPosition = 20;
topPosition = 385;
zPosition = 4;
containerBGColor = "";
mouseControl = '';

containerContent = '<table cellpadding="0" cellspacing="0" border="0"><tr><td id="productdetail">aaaaaaaaaaaa<br><img src="images/pixel_clear.gif" width="1" height="5" border="0" alt=""></td></tr></table>';



if (isN4)
{
document.write('<layer name="' + idName + '" position="' + positionType + '" visibility="' + containerVisibility + '" left="' + leftPosition + '" top="' + topPosition + '"  z-index="' + zPosition + '"  ' + bgcolorobj + '="' + containerBGColor  + '" ' + mouseControl + '>' + containerContent + '</layer>');
}

if (isIE || isIE5 || isIE6 || isN6)
{
document.write('<div id="' + idName + '" style="position:' + positionType + ';visibility:' + containerVisibility + ';left:' + leftPosition + 'px;top:' + topPosition + 'px; z-index:' + zPosition + ';' + bgcolorobj + ':' + containerBGColor + '" ' + mouseControl + '>' + containerContent + '</div>');
}
*/


 //-->
