function sms_chem99_style()
{	
	var netsun_width,netsun_color,netsun_height
	if(typeof(netsun_border_color) == "undefined" || typeof(netsun_table_width) == "undefined")
	{
		netsun_color="cccccc",netsun_width="100%",netsun_bgcolor="ffffff";
	}
	else
	{
			if(netsun_border_color.length==0)
			{
				netsun_border_color="ff6600";
			}
			if(netsun_table_width.length ==0)
			{
				netsun_table_width="180";
			}
			if( typeof(netsun_bgcolor) == "undefined")
			{
				 netsun_bgcolor="ffffff";
			}
			else
			{
				if(netsun_bgcolor.length < 2)
				netsun_bgcolor="ff6600";
			}
	
	   netsun_color=netsun_border_color,netsun_width=netsun_table_width,netsun_height=netsun_table_height;
   }
	 
document.writeln("<table  bgcolor= #"+netsun_bgcolor+"  cellpadding=2 cellspacing=0  style=\"width:"+ netsun_width +"px;height:"+netsun_height+"px; border: 1px solid #"+netsun_color+";\"  >");
document.writeln("<tr>");
document.writeln("          <td nowrap align=center>");
document.writeln("<iframe src='http://sms.chem99.com/include/smsregin.aspx?style=" + netsun_bgcolor + "&source=" + source + "&sourcesite=" + site + "' frameborder='0' width='180px' height='50px'></iframe>")
document.writeln("      </td>");
document.writeln("        </tr>");
document.writeln("</table>");

  }
sms_chem99_style();