//To use this script, "reptgen.js" must be 
//included in your html page!
var formName = 0;



function setAction(thevalue){
    //$("#xtab-id").ingrid();
	var action = document.forms[formName].elements["action"];
	action.value = thevalue;
//alert("submitting");
	document.forms[formName].submit();
}


function hideMe(elementName){

	if (document.all){
		element = document.all(elementName);
		element.style.visibility="hidden";
	}else if (document.getElementById){
		element = document.getElementById(elementName);
		element.style.visibility="hidden";
	}else{
		element = document.layers[elementName];
		element.visibility="hide";
	}
}

