
function ShowResults(id, isvote, cid)
{
var ans = -1;
if (isvote==true)
{
ans = getradiovalue();  
if (ans != -1)
{
var dd = document.getElementById(cid) ;
if (dd != null && dd != undefined)
dd.disabled=true;
}
}
window.open("ViewPollResult.aspx?pollID=" + id + "&selected=" + ans,'','height=400,width=600,left=' + (screen.availWidth-600)/2 + ',top= '+(screen.availHeight-400)/2+',toolbar=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no ,modal=yes');
return false;
}
function getradiovalue()
{
var radio_choice = false;
var g2 = document.getElementsByName('g1');
for (counter = 0; counter < g2.length; counter++)
{
if (g2[counter].checked)
{
return (g2[counter].value);
}
}
return (-1);
}




jQuery(document).ready( function () {
jQuery.ajax({cache: false,  url: 'handlers/MSBRDataHandler.ashx?t=weatherBox&cid=8109bf90-a5cc-4a74-9d21-1b21158a7ffb', error: function() { alert('error getting Categories'); }, success: function( result) { jQuery("#ctl00_ctl09_divHtml").append( result); AdjustColumnsHeight();}});
});

jQuery(document).ready( function () {
jQuery.ajax({cache: false,  url: 'handlers/MSBRDataHandler.ashx?t=visitor&cid=0bff0f84-1594-4660-9b81-63ca3133fbb9', error: function() { alert('error getting Categories'); }, success: function( result) { jQuery("#ctl00_ctl11_visitorCtrl").append( result); AdjustColumnsHeight();}});
});
jQuery(document).ready( function () {
jQuery.ajax({cache: false,  url: 'handlers/MSBRDataHandler.ashx?t=SiteDashBox&cid=bb56e6af-28e0-4947-bcb8-bfc518955f37', error: function() { alert('error getting Categories'); }, success: function( result) { jQuery("#ctl00_ctl12_siteDash").append( result); AdjustColumnsHeight();}});
});


