﻿var prefix = "ctl00_Content_";
var mpPrefix = "ctl00_";
var isIE = true;

if (window.navigator.appName.toLowerCase().indexOf("msie") == -1)
	{isIE = false;}
function Control(id)
{

var cont = null;
if (document.getElementById(id))
    cont = document.getElementById(id);
else if(document.getElementById(mpPrefix + id))
    cont = document.getElementById(mpPrefix + id);
else if (document.getElementById(prefix + id))
    cont = document.getElementById(prefix + id);
else
    cont = parent.parent.document.getElementById(mpPrefix + id);
    

return cont;

}


