

function openStdWindow(url)
{
	var width = window.screen.width * 2/ 3;
	var height = window.screen.height * 2/ 3;
	var left = (window.screen.width - width) / 2;
	var top = (window.screen.height - height) / 2;
	
	var param = "resizable=yes,left=" + left + ",top=" + top + ",width=" + width + ",height=" + height;
	
	return window.open(url,"",param);
}

function openStdDialog(url,args,w,h)
{
	var sFeatures = "status:no;scroll:no;help:no;dialogWidth:";
	
	if(w)
		sFeatures = sFeatures + w;
	else
		sFeatures = sFeatures + "512px";
		
	if(h)
		sFeatures = sFeatures + ";dialogHeight:" + h;
	else
		sFeatures = sFeatures + ";dialogHeight:384px";
		
	var o = window.showModalDialog(url,args,sFeatures);
	return o;
}



/*

function ForceWindow ()
{
  this.r = document.documentElement;
  this.f = document.createElement("FORM");
  this.f.target = "_blank";
  this.f.method = "post";
  this.r.insertBefore(this.f, this.r.childNodes[0]);
}
*/
/**
 * 定义open方法
 * 参数sUrl：字符串，要打开窗口的URL。
 * 无返回值
 */
 
 /*
ForceWindow.prototype.open = function (sUrl)
{
  this.f.action = sUrl;
  this.f.submit();
}

*/



function radSearchCp_onclick() {


   window.mainForm.txtKeyWord.value="请输入产品名称!";

}

function radSearchGs_onclick() {

  window.mainForm.txtKeyWord.value="请输入公司名称!";

}

function radSearchMj_onclick() {

 window.mainForm.txtKeyWord.value="请输入产品名称!";

}

function radSearchZx_onclick() {
  window.mainForm.txtKeyWord.value="请输入标题!";

}


