// JavaScript Document

// Function Transparency MultiObjects (Current class will be used on)
/* ### HOVER for IE ### */

	var tag_lst = new Array('img','div','table');
	var src_cls = 'opacity';
	var hover_cls = 'opacity-hover';

// do not edit after this line //
	var mOverTag = function()
	{
		this.className += ' '+hover_cls;
	}

	var mOutTag = function()
	{
		this.className = this.className.replace(' '+hover_cls, '');
	}

	function set_mOverTags()
	{
		var tag;

		if (-1 == navigator.appName.indexOf("Microsoft"))
		{
			return false;
		}
		for (var j=0; j<tag_lst.length; j+=1)
		{
			tag = document.getElementsByTagName(tag_lst[j]);
			if (null == tag)
			{
				continue;
			}
			for (var i=0; i<tag.length; i+=1)
			{
				if (null == tag[i])
				{
					continue;
				}
				if (-1 == tag[i].className.indexOf(src_cls))
				{
					continue;
				}

				tag[i].onmouseover = mOverTag;
				tag[i].onmouseout = mOutTag;
			}
		}
		return true;
	}


//Google FormColorChange Fix

var gooTooFix = {
	_valID		:null,
	_myI		:[],

	construct:function(){
		_myI = $('logName','logPass', 'qname', 'qcountry');
		gooTooFix._valID = window.setInterval("gooTooFix.cf()", 50);
		window.setTimeout("gooTooFix.clear()", 5000);
	},

	cf:function (){
		for (var i=0;i<_myI.length;i++)
		{
			if(null == _myI[i])
			{

				continue;
			}

			if(_myI[i].style.backgroundColor != "#8425bb")
			{
				_myI[i].style.backgroundColor = "#8425bb";
				_myI[i].style.border 		 = "#26003d 1px solid";
				_myI[i].style.color			 = "#ffffff";
			}
		}
	},
	clear:function (){
		clearInterval(gooTooFix._valID);
	}
}
addEvent(window, 'load', gooTooFix.construct, false);


function hideObj(tgt){
	if($(tgt)){
		$(tgt).style.display = 'none';
	}	
}