PageRenderTime 23ms CodeModel.GetById 14ms app.highlight 7ms RepoModel.GetById 1ms app.codeStats 0ms

/source/gl/js/My97/My97DatePicker.htm

http://prosporous.googlecode.com/
HTML | 49 lines | 45 code | 4 blank | 0 comment | 0 complexity | 3bce509a396fe0b2ff0c8d10c6995546 MD5 | raw file
 1<html>
 2<head>
 3<meta http-equiv="content-type" content="text/xml; charset=utf-8" />
 4<title>My97DatePicker</title>
 5<script type="text/javascript" src="config.js"></script>
 6<script>
 7if(parent==window)
 8	location.href = 'http://www.my97.net';
 9var $d, $dp, $pdp = parent.$dp, $dt, $tdt, $sdt, $IE=$pdp.ie, $FF = $pdp.ff,$OPERA=$pdp.opera, $ny, $cMark = false;
10if ($pdp.eCont) {
11	$dp = {};
12	for (var p in $pdp) {
13		$dp[p] = $pdp[p];
14	}
15}
16else
17	$dp = $pdp;
18	
19$dp.getLangIndex = function(name){
20	var arr = langList;
21	for (var i = 0; i < arr.length; i++) {
22		if (arr[i].name == name) {
23			return i;
24		}
25	}
26	return -1;
27}
28
29$dp.getLang = function(name){
30	var index = $dp.getLangIndex(name);
31	if (index == -1) {
32		index = 0;
33	}
34	return langList[index];
35}
36 
37$dp.realLang = $dp.getLang($dp.lang);
38document.write("<script src='lang/" + $dp.realLang.name + ".js' charset='" + $dp.realLang.charset + "'><\/script>");
39
40for (var i = 0; i < skinList.length; i++) {
41    document.write('<link rel="stylesheet" type="text/css" href="skin/' + skinList[i].name + '/datepicker.css" title="' + skinList[i].name + '" charset="' + skinList[i].charset + '" disabled="true"/>');
42}
43</script>
44<script type="text/javascript" src="calendar.js"></script>
45</head>
46<body leftmargin="0" topmargin="0" onload="$c.autoSize()" tabindex=0>
47</body>
48</html>
49<script>new My97DP();</script>