function showline(size,type){
	var htmls="";
	if(type==0)
		htmls="<table border=\"0\" width=\""+size+"\" cellspacing=\"0\" cellpadding=\"0\"><tr><td width=\"100%\" height=\"1\" bgcolor=\"#808080\"></td></tr><tr><td width=\"100%\" height=\"1\" bgcolor=\"#FFFFFF\"></td></tr></table>";
	else if(type==1){
		htmls="<table border=\"0\" width=\""+size+"\" cellspacing=\"0\" cellpadding=\"0\"><tr><td width=\"100%\" height=\"1\" bgcolor=\"#FFFFFF\"></td></tr><tr><td width=\"100%\" height=\"1\" bgcolor=\"#808080\"></td></tr></table>";
	}
	else if(type==2){
		htmls="<table border=0 height="+size+" cellspacing=0 cellpadding=0><tr> <td width=1 height=1 bgcolor=#FFFFFF></td><td width=1 height=1 bgcolor=#FFFFFF></td><td width=1 height=1 bgcolor=#808080></td></tr><tr><td width=1 bgcolor=#FFFFFF></td><td width=1 bgcolor=buttonface></td><td width=1 bgcolor=#808080></td></tr><tr><td height=1 bgcolor=#808080 colspan=3></td></tr></table>";
	}
	else if(type==3){
		htmls="<table border=0 height="+size+" cellspacing=0 cellpadding=0><tr> <td width=1 height=1 bgcolor=#808080></td><td width=1 height=1 bgcolor=#808080></td><td width=1 height=1 bgcolor=#FFFFFF></td></tr><tr><td width=1 bgcolor=#808080></td><td width=1 bgcolor=buttonface></td><td width=1 bgcolor=#FFFFFF></td></tr><tr><td height=1 bgcolor=#FFFFFF colspan=3></td></tr></table>";
	}
	else if(type==4){
		htmls="<table border=0 height="+size+" cellspacing=0 cellpadding=0><tr> <td width=1 height=1 bgcolor=#808080></td><td width=1 height=1 bgcolor=#FFFFFF></td></tr></table>";
	}
	else ;
	document.write(htmls);
}

function setColor(obj){
	var rcolor=window.showModalDialog("/common/html/setColor.htm",obj,'dialogWidth:180pt;dialogHeight:170pt;status:0;Help:no');
	if(typeof(rcolor)!="undefined"){
		return rcolor;
	}
	else{
		return null;
	}
}