function UnHide( eThis ){
    var img = eThis.childNodes;
   		if(img[0].src.substr(img[0].src.lastIndexOf("/") +1 ) == "li_root_left_menu_close.gif"){
            img[0].src = "../images/li_root_left_menu_open.gif";     
            eThis.parentNode.parentNode.className = '';
        }else{
            img[0].src = "../images/li_root_left_menu_close.gif";
            eThis.parentNode.parentNode.className = 'hidde';
        }
        return false;
    }	

		function validate_request_proposal(){
			if ( ( document.emailForm.email_descr.value == "" ) || ( document.emailForm.email_name.value == "" ) || ( document.emailForm.email_name.value == "" )  ) {			
				alert( "Please fill in mandatory fields." );
				return false;				
			} else if ( ( document.emailForm.email_from.value.search("@") == -1 ) || ( document.emailForm.email_from.value.search("[.*]" ) == -1 ) ){
				alert( "Please enter correct email address." );		
				return false;				
			} else if ( ( document.emailForm.email_from.value.search(";") != -1 ) || ( document.emailForm.email_from.value.search(",") != -1 ) || ( document.emailForm.email_from.value.search(" ") != -1 ) ) {
				alert( "You cannot enter more than one email address." );			
				return false;								
			} else {
				return true;		
				//document.emailForm.action = "http://www.innoinco.com/contact/formmail/mail_module.php"
				//document.emailForm.submit();
			}
		}
			
    	
		var nMaxVars = 0;
		var sVarLine = "";
		var sName = new Array();
		var sValue = new Array();
function parseCallingURL(sCallingURL) {
		//Get the calling URL and parse out variables
		sCallingURL = String(sCallingURL);
		
		if (sCallingURL.length == 0)
			return;
			
		// Check if there are any variables
		if (sCallingURL.indexOf('?') != -1) {
			sVarLine = String(sCallingURL.substring(sCallingURL.indexOf('?') + 1, sCallingURL.length));
		} else {
			// No variables
			return;
		}

		var nPos = 0;
		var sChar = "";
		var sWord = "";
		var nMaxVars = 0;
		// Parse
		while (nPos < sVarLine.length) {
			sChar = sVarLine.substring(nPos, nPos + 1);
			
			if (sChar == "=") {
				sName[nMaxVars] = sWord;
				sWord = "";
				
			} else if (sChar == "&") {
				sValue[nMaxVars] = sWord;
				sWord = "";
				nMaxVars++;
				
			} else if (nPos == sVarLine.length - 1) {
				sWord += sVarLine.substring(nPos, nPos + 1);
				sValue[nMaxVars] = sWord;
				sWord = "";
				nMaxVars++;
				
			} else {
				sWord += sChar;
				
			}
			nPos++;
		}
		if(sValue[0]!=""){
		return sValue[0];}
		else {
		 return false;}
	}
var id_D_open="d1";
var td_C_over="t1";
function HI(id_D,td_C){
	if((id_D == "")){
	document.getElementById('t1').className="td_over";
	document.getElementById('d1').style.display="block";
	id_D_open = 'd1';
	td_C_over = 't1';
	}else if((id_D != id_D_open)){
	document.getElementById(td_C_over).className="td_def";	
	document.getElementById(id_D_open).style.display="none";
	document.getElementById(td_C).className="td_over";
	document.getElementById(id_D).style.display="block";
	id_D_open = id_D;
	td_C_over = td_C;
	}else{
	return false;
	}
}

function poll_results_3(action,theURL,winName,winWidth,winHeight,features) {      

    var w = (screen.width - winWidth)/2;

    var h = (screen.height - winHeight)/2 - 20;

    features = features+',width='+winWidth+',height='+winHeight+',top='+h+',left='+w;

    var poll_ident = self.document.poll_3.poll_ident.value;

    option_id = '';

    for (i=0; i<self.document.poll_3.option_id.length; i++) {

        if(self.document.poll_3.option_id[i].checked == true) {

            option_id = self.document.poll_3.option_id[i].value;

            break;

        }

    }

    option_id = (option_id != '') ? '&option_id='+option_id : '';

    if (action=='results' || (option_id != '' && action=='vote')) {

        theURL = theURL+'?action='+action+'&poll_ident='+poll_ident+option_id;

        poll_popup = window.open(theURL,winName,features);

        poll_popup.focus();

    }

    return false;

}