﻿var r=new RegExp('tc=([^;]+)'),c='la';
if (r.test(document.cookie+';')){r.exec(document.cookie+';');c=unescape(RegExp.$1);}
document.write('<link rel="stylesheet" type="text/css" id="c" href="/skins/'+ c +'/stylesheet.css" />');

function a(){}

function e(e){return (document.getElementById) ? document.getElementById(e): document.all[e];}

function s(s){
	var d=new Date();
	d.setTime(d.getTime()+(365*24*60*60*1000));
	var x=d.toGMTString();
	document.cookie='tc='+ s +'; expires='+ x +'; path=/';
	e('c').href='/skins/'+ s +'/stylesheet.css';
}

function p(t,f,w,h){
	//1:自动播放|1:连续播放|80:默认音量|0:控制栏位置|1:控制栏显示|0x000033:主体颜色|60:主体透明度|0x66ff00:光晕颜色|0xffffff:图标颜色|0xffffff:文字颜色|DINGPING.com:logo文字|:logo地址|:结束swf地址
	document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="'+ w +'" height="'+ h +'">');
	document.write('<param name="movie" value="/common/p.swf"><param name="quality" value="high">');
	document.write('<param name="menu" value="false"><param name=wmode value="opaque">');
	document.write('<param name="FlashVars" value="vcastr_file='+ f +'&vcastr_title='+ t +'&vcastr_config=1|1|80|0|1|0x000033|60|0x66ff00|0xffffff|0xffffff|DINGPING.com||">');
	document.write('<embed src="/common/p.swf" wmode="opaque" FlashVars="vcastr_file='+ f +'&vcastr_title='+ t +'&vcastr_config=1|1|80|0|1|0x000033|60|0x66ff00|0xffffff|0xffffff|DINGPING.com||" menu="false" quality="high" width="'+ w +'" height="'+ h +'" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');
	document.write('</object>'); 
}

function t(t){
	_VC_DocumentTitles = new Array('不自由，毋宁死', '只有面对现实，才能超越现实', '认识自己，降伏自己，改变自己，才能改变别人', '如果你不给自己烦恼，别人也永远不可能给你烦恼。因为你自己的内心，你放不下', '学而时习之，不亦乐乎', '室雅何须大，花香不在多', 'Nothing is impossible for a willing heart.', '学无前后，达者为师', '好问不须脸红，无知才应羞耻', '汗水和丰收是忠实的伙伴，勤学和知识是一对最美丽的情侣');
	_VC_DocumentTitleIndex = Math.floor(Math.random() * _VC_DocumentTitles.length);
	document.title = t + '(' + _VC_DocumentTitles[_VC_DocumentTitleIndex] + ') - DINGPING.com';
}