<!-----

//********** Starts of Button Rollover Script *********
function openNewWindow(URLtoOpen, windowName, windowFeatures) {
	newWindow=window.open(URLtoOpen, windowName, windowFeatures);
}


//********** Starts of Button Rollover Script *********

function mouseOverBtn(catchButton)
{
	catchButton.style.backgroundColor='#EDEDED';
}

function mouseOutBtn(catchButton)
{
	catchButton.style.backgroundColor='#FFFFFF';
}

//********** Ends of Button Rollover Script *********



//********** Starts of PopUp Window Script *********

var hWnd
function PopupWindow( passurl , height, width) {


	var x = screen.availWidth/2 - 200;
	var y = 150;

        enterCalled = true
        window.name = "parent"
        var url = passurl
        if( !hWnd ) {
        //if no help window is open then open a new help window and give it focus
        hWnd = window.open(url,"popup","width=" + width + ",height=" + height +", left=" + x + ", top=" + y + ", resizable=yes,scrollbars=yes")
        hWnd.focus()
        } else if ( hWnd.closed ) {
        //if no help window is open then open a new help window and give it focus
        hWnd = window.open(url,"popup","width=" + width + ",height=" + height +", left=" + x + ", top=" + y + ", resizable=yes,scrollbars=yes")
        hWnd.focus()
        } else {
        //if the help window is already open then update it and give it focus
        hWnd.location=url
        hWnd.focus()
        }
        // handle Navigator 2, which doesn't have an opener property
        if (!hWnd.opener) { hWnd.opener = window}
}


//********** Ends of PopUp Window Script *********


//********** Starts of Text Fadein Script *********

	col=255; 
	function fadein() 
	{ 
		document.getElementById("ks").style.color="rgb(" + col + "," + col + "," + col + ")"; 
		col-=5; 

		if(col>0) 
		setTimeout('fadein()', 10); 
	} 

//********** Ends of Text Fadein Script *********



//********** Starts of Textarea Limit Script *********

function textLimit(field, maxlen) 
	{


	if (field.value.length > maxlen) 
	{
		field.value = field.value.substring(0, maxlen);
		alert('Sorry you can not insert more than! ' + maxlen + ' characters');
	} 

}

//********** Ends of Textarea Limit Script *********

//----->
