function xmlRender(section,xslId,lnkId,part)
{
    document.getElementById(section).innerHTML="<img src=images/wait.gif />";
    
	Anthem_InvokeAnotherPageMethod('utils/serverScript.aspx?Anthem_CallBack=true','xmlRender',[xslId,lnkId,part],
	    function(result){
	        document.getElementById(section).innerHTML = result.value;    
	    }
	);
}

function extXmlRender(section,xsl,xml)
{
    document.getElementById(section).innerHTML="<img src=images/wait.gif />";

	Anthem_InvokeAnotherPageMethod('utils/serverScript.aspx?Anthem_CallBack=true','extXmlRender',[xsl,xml],
	    function(result){
	        document.getElementById(section).innerHTML = result.value;    
	    }
	);
}

function previousPage(){
	history.back();
}

function radio_value(myRadio)
{
	for (var i=0;i<myRadio.length; i++)
		if (myRadio[i].checked)
			return myRadio[i].value;   
}

function select_value(myRadio)
{
	for (var i=0;i<myRadio.length; i++)
		if (myRadio[i].selected)
			return myRadio[i].value;   
}


function CommentWin(LnkIdn)
{
    window.open('Utils/AddComment.aspx?LnkIdn=' + LnkIdn,'_new','scrollbars=yes,width=475,height=400,toolbar=no');
}

function FriendWin(LnkIdn)
{
    window.open('Utils/TellFriend.aspx?LnkIdn=' + LnkIdn,'_new','scrollbars=yes,width=450,height=375,toolbar=no');
}

function PrintWin(LnkIdn)
{
    window.open('Print.aspx?LnkIdn=' + LnkIdn ,'_new','scrollbars=yes,width=450,height=375,toolbar=no');
}


//Send Resolution Data
function StatRes()
{
    Anthem_InvokeAnotherPageMethod('utils/serverScript.aspx?Anthem_CallBack=true'
        ,'statRes',[screen.width,screen.height,screen.colorDepth],function(result){});
}
