﻿var emailNotVerifiedCaption = 'Email Not Verified';
var pleaseVerifyEmailCaption = 'You have not verified your email. Please<br/> verify email before you can login.';
var resendVerifyEmailCaption = 'Resend Verify Email';
var canelCaption = 'Canel';
var isMasterDisabled = 0;
var dropDown_HiddenObjs = new Array();



function showDropDown(value) {
	if (value)
	{
	    for (f = 0; f < document.forms.length; f++)
	    {
	        var elements = document.forms[f].elements;
	        for (e = 0; e < elements.length; e++)
	        {
	            if (elements[e].type == "select-one")
	            {
	                elements[e].style.visibility = 'visible';
	            }
	        }
	    }			
	} else {
	    for (f = 0; f < document.forms.length; f++)
	    {
	        var elements = document.forms[f].elements;
	        for (e = 0; e < elements.length; e++)
	        {
	            if (elements[e].type == "select-one")
	            {
	                elements[e].style.visibility = 'hidden';
	            }
	        }
	    }			
	}
}

function showObj(objName) {
  var obj = document.getElementById(objName);
  obj.style.visibility='visible';
  obj.style.display='block';
}





function ConverDivBackgroundColorForIE6(div,backgroundColor)
    {
    }
var NavigatorDefaultChannel="notID";
if (window.addEventListener)
{
    window.addEventListener("load", NavigatorSetCurrentChannelColor, false);
}
else if (window.attachEvent)
{
    window.attachEvent("onload", NavigatorSetCurrentChannelColor);
}
else
{
    window.onload=NavigatorSetCurrentChannelColor;
}
function CopyInnerHtml(parentObject,childObject)
{
    
    var parent=document.getElementById(parentObject);  
    var child=document.getElementById(childObject);  
    if(parent!=null)
    {
        if(child!=null)
        {
            child.innerHTML=parent.innerHTML;
        }
    }
}

