function submitF(){
	top.iFrm.document.getElementsByName('username')[0].value=document.getElementById('unId').value;
	top.iFrm.document.getElementsByName('password')[0].value=document.getElementById('paswD').value;
	top.iFrm.document.getElementsByName('login')[0].click();
	//top.iFrm.document.forms[0].submit();
}


//image.php?img=../"+img+"&UrlId="+UrlId+"&lang=<?=$lang?>
function pop(gUrl,xX,yY){
	var width = xX;
	var height = yY;
	var ranL= Math.round(Math.random()*100);	
	var ranT= Math.round(Math.random()*100);
	var l = ( screen.width - width )/2;
	var t = ( screen.height - height )/2 - 20;
	url = gUrl;
	window.open( url, "_blank", "directories=0,location=0,menubar=no,titlebar=no,toolbar=0,scrollbars=0,resizable=0,left="+l+",top="+t+",width="+width+",height="+height );
}