	
	
	var rowColor ="";

	function switchColor( rowObject, rowStatus ){

		var rowSelColor = '#FFFFFF';
		
		if(switchColor.arguments[2]){
			rowSelColor = switchColor.arguments[2];
		}

		if(rowStatus == 'on'){
			rowColor = rowObject.style.backgroundColor;
		}

		if(rowStatus == 'on'){
			rowObject.style.backgroundColor = rowSelColor;
		}
		else{
			rowObject.style.backgroundColor = rowColor;
		}
	}
	
	function doPrint() {
		if (typeof(window.print) != 'undefined') {
			window.print();
		}
	}

	function popUp(URL,p_width,p_heigth) {
	day = new Date();
	id = day.getTime();
	eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width=" + p_width + ",height=" + p_heigth + "');");
	}
