function onloadfunction_commonjs(){
//		maketarget_blank();
//		get_info();
		focus_text();
//		eval(onloadarray);
}
window.onload=onloadfunction_commonjs;


function focus_text(){
	if((document.all || document.getElementsByTagName) && document.getElementById){
		var alltags3=document.all? document.all : document.getElementsByTagName("*");
		for (i=0; i<alltags3.length; i++){
			if(alltags3[i].tagName=="INPUT" && alltags3[i].className.indexOf("text")!=-1){
				alltags3[i].onfocus=function(){ this.className='text active';};
				alltags3[i].onblur=function(){ this.className='text';};
			};
			if(alltags3[i].tagName=="SELECT"){
				alltags3[i].onfocus=function(){ this.className='active';};
				alltags3[i].onblur=function(){ this.className='';};
			};
			if(alltags3[i].tagName=="TEXTAREA"){
				alltags3[i].onfocus=function(){ this.className='active';};
				alltags3[i].onblur=function(){ this.className='';};
			};
			/*if(alltags3[i].tagName=="INPUT" && alltags3[i].className.indexOf("checkbox")!=-1){
				alltags3[i].onfocus=function(){ this.className='checkbox active';};
				alltags3[i].onblur=function(){ this.className='checkbox';};
			};*/
		};
	};
}

function openwindow(url,winName,winParams)	{	
	var theWindow = window.open(url,winName,winParams);
	if (theWindow)	{theWindow.focus();}
	return false;
}
