function ad_top()		{
	document.writeln("<TABLE width=760 height=60 border=\"0\" cellspacing=\"0\" cellpadding=\"0\"  background=\"image/760_001.jpg\" bgcolor=\"#6600FF\">");
	document.writeln("<TR height=60>");
	document.writeln("	<td align=center style=\"filter:glow(color=#C0C0C0,strength=2)shadow(color=#C0C0C0 ,direction=135);\"><a href=\"###\" style=\"text-decoration:none\"><b><font face=\"华文中宋\" size=\"6+\" color=\"#FFFFCC\">免费域名</font></b><br><font color=\"#FFFFFF\">my.1a.cn</font></a></td>");
	document.writeln("");
	document.writeln("	<td width=100></td>");
	document.writeln("");
	document.writeln("	<td>");
	document.writeln("");
	document.writeln("	<TABLE>");
	document.writeln("	<TR>");
	document.writeln("		<TD height=40></TD>");
	document.writeln("	</TR>");
	document.writeln("	<TR>");
	document.writeln("		<TD height=20><FONT COLOR=\"#FFFFFF\"><a href='index.html'>首页</a> | <a href='register.html'>申请/修改域名</a> | <a href='top.html'>排行榜</a> | <a href='cn.html'>免费顶级cn域名</a> | <a href='service.html'>服务条例</a> | <a href='faq.html'>FAQ</a></FONT></TD>");
	document.writeln("	</TR>");
	document.writeln("	</TABLE>");
	document.writeln("");
	document.writeln("");
	document.writeln("</TD>");
	document.writeln("</TR>");
	document.writeln("</TABLE>");
}

function ad_left()	{

	document.writeln("<TABLE height=100%>");

	document.writeln("<tr><td height=100% valign=top><BR>&nbsp;<BR><font color=white>最短最酷的免费域名：<p>&nbsp;&nbsp;www.qq.1a.cn");
	document.writeln("<br>&nbsp;&nbsp;我爱你.1a.cn");
	document.writeln("<br>&nbsp;&nbsp;中国.1a.cn");
	document.writeln("<br>&nbsp;&nbsp;sex.1a.cn");
	document.writeln("<br>&nbsp;&nbsp;love.1a.cn");
	document.writeln("<br>&nbsp;&nbsp;china.1a.cn");
	document.writeln("<br>&nbsp;&nbsp;sms.1a.cn");
	document.writeln("<br>&nbsp;&nbsp;cool.1a.cn");
	document.writeln("<br>&nbsp;&nbsp;good.1a.cn");
	document.writeln("<br>&nbsp;&nbsp;car.1a.cn");
	document.writeln("<br>&nbsp;&nbsp;girl.1a.cn");
	document.writeln("<br>&nbsp;&nbsp;123.1a.cn");
	document.writeln("");
 
	document.writeln('<center><table cellpadding="3" cellspacing="0" border="0" align=center height=300 width=99%> <tr> <td bgcolor="#ffffff" style="border: none;" align=center> <h2>新一代免费网站空间</h2><br><a href="http://free.myhbcms.org.cn/?referrer_id=1159" target="_blank"><font color=red>点击这里申请</font></a> <br />&nbsp;<br />100MB 3分钟开通 <br />&nbsp;<br />可绑定顶级域名 <br />&nbsp;<br /> <a href="http://free.myhbcms.org.cn/?referrer_id=1159" target="_blank"><img src="http://www.55.la/anonymous/banner/2008/03/28/08/932988.gif" border="0" alt="申请免费网站空间"></a></td> </tr> </table></center>');


	document.writeln("</font> </td></tr>       <tr><td height=30><a href=\"faq.html\">你们的免费域名是什么？</a></td></tr>");

	document.writeln("</TABLE>");
}

function ad_bottom()	{
	document.writeln("<table width=\"760\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" height=\"25\" background=\"http://www.a-1.net/images/shim-bottom.gif\" bgcolor=\"#6600FF\">");
	document.writeln("  <tr>");
	document.writeln("    <td height=\"22\" >　<font color=\"C9D1DC\">版权所有：壹A网络</font></td><td align=center>　　　　　　<font color=white>www.1A.cn</font>　</td><td align=right><font color=\"C9D1DC\">最短最酷的免费域名：</font><font color=white>你的名字.1a.cn</font>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;");

	document.write ('<sc'+'ript language="javascript" type="text/javascript" src="http://js.users.51.la/208222.js"></scr'+'ipt>');

	document.writeln(" </td> </tr>");
	document.writeln("</table>");
}

web_type_ary = new Array('请选择分类','音乐mp3','FLASH欣赏','宽带电影','聊天网址','幽默笑话','美女明星','编程设计','游戏网址','贺卡传情','软件下载','爱情交友','黑客资讯','主页制作','硬件资讯','文学小说','搜索引擎','网上购物','军事资讯','财经股市','电视电台','人才市场','娱乐资讯','旅游网址','体育资讯','论坛-bbs','桌面壁纸','手机通讯','男士女性','综合网站','两性网址','交通地图','医疗保健','电脑综合','新闻报刊','省市导航','影视资讯','艺术爱好','汽车资讯','法律站点','教育大学','银行网址','校园英语','域名主机','儿童宠物','出国留学','房产饮食','考试资源','时装商贸','电子家电','建筑环保','国外网址','论文考研','邮件信箱','装饰保险','政府组织','实用查询','江湖社区');


function web_type_select_box(selected_value)	{
	document.write("<select name=web_type class=input2>");
	for(i=0;i<web_type_ary.length;i++)	{
		selected_str = (i==selected_value) ? ' selected' : '';
		document.write("<option value='"+i+"'"+selected_str+">"+web_type_ary[i]+"</option>");
	}
	document.write("</select>");
}

function ad_center()	{
	document.writeln('<center><br />不得了哇，有真真正正的免费顶级cn域名申请了：<br /><a href="cn.html" style="color:blue;"><img src="http://www.zzy.cn/img/main_title1.gif" width=186 height=50 border=0><img src="http://www.zzy.cn/img/main_title1.gif" width=186 height=50 border=0></a><br /><a href="cn.html" style="color:blue;"><font size="3"><b>点这里</b></font>：查看如何<font color=red>免费获得10个顶级cn域名</a></b></font></a>(如：www.qq.cn )<br /> </center>');
}

// ＃＃＃＃＃＃＃＃＃＃＃＃＃ 下面是 Read variables passed with the URL 代码 ＃＃＃＃＃＃＃＃＃＃＃＃＃＃ 

// url example: 
// index.html?tW=300&tD=toc.html&mD=pguide0701.html

//Set errorhandler
window.onerror = stopError

//Suppress JavaScript errors
function stopError() {
	return true;
}
//getFrameVars function
function getFrameVars() 
{ 
    var fVars     = new Object();       // Create new fVars object
    var nameVal   = "";                 // Holds array for a single name-value pair
    var inString  = location.search;    // Get query string from URL
    var separator = ",";                // Character used to separate multiple values 

   // If URL contains query string 
	if (inString.charAt(0) == "?") 
    { 
        // Removes "?" character from query string. 
        inString = inString.substring(1, inString.length); 
        // Separates query string into name-value pairs. 
		keypairs = inString.split("&"); 
        // Loops through name-value pairs. 
        for (var i=0; i < keypairs.length; i++) 
		{ 
            // Splits name-value into array (nameVal[0]=name, nameVal[1]=value). 
            nameVal = keypairs[i].split("=");
            // Checks to see if name already exists 
			if (fVars[nameVal[0]]) 
            { 
			   fVars[nameVal[0]] += separator + nameVal[1]; 
            } 
            else 
            { 
               fVars[nameVal[0]] = nameVal[1]; 
            }
        } 
    } 
	return fVars; 
} 
FrameVars=getFrameVars();

//Read variables passed with the URL
//alert("\n\nid=" + FrameVars.id + "\n\ntable=" + FrameVars.table + "\n\nurl=" + FrameVars.url + "\n\nlocation.search=" +  location.search);