<HTML>
<HEAD>
<meta http-equiv=Content-Type content="text/html; charset=gb2312">
<TITLE>FeedArts RSS Reader</TITLE>
<link rel="stylesheet" rev="stylesheet" href="style/panel.css" type="text/css" media="all" />
<style type="text/css">
<!--
body {
background-image:url(img/back.jpg);
text-align:center;
}
#main{
z-index:1;
}
#container {
font-size:15px;
position:relative;
padding-top:12px;
padding-bottom:18px;
padding-left:11px;
padding-right:19px;
background-image:url(img/panel.png);
background-repeat:no-repeat;
top:66px;
left:-4px;
width:600px;
height:600px;
z-index:12;
}
#apDiv1{
text-align:left;
padding:20px;
height:570px;
width:570px;
overflow-y:auto;
overflow-x:auto;
}
a:hover{
test:expression(target="_blank");
}
#chtml {
position:absolute;
left:0px;
top:0px;
width:0px;
height:0px;
z-index:1;
display:none;
}
-->
</style>
</HEAD>
<BODY onUnload="storeXML()">
<div id="chtml"></div>
<script src="path.js" type="text/javascript"></script>
<SCRIPT LANGUAGE=JavaScript>
<!--
var xmlString = "";
var InternetExplorer = navigator.appName.indexOf("Microsoft") != -1;
var g_temp = "";
function myFlash_DoFSCommand(command, args){
var myFlashObj = InternetExplorer ? myFlash : document.myFlash;
//xmlString = args;
var op = args.substr(0,1);
var data = args.substr(1, args.length-1);
switch(op){
case "0":
updated = true;
xmlString = data;
break;
case "1":
document.getElementById("chtml").innerHTML = data;
var txt = document.getElementById("chtml").innerText;
display_panel(g_temp + txt);
break;
case "2":
g_temp = data;
case "3":
storeXML();
default:;
}
}
function display_panel(txt){
document.getElementById("apDiv1").innerHTML = txt;
document.getElementById("apDiv1").style.visibility = "visible";
document.getElementById("container").style.visibility = "visible";
//document.getElementById("apDiv1").style.display="";
//document.getElementById("container").style.display="";
}
function hide_panel(){
document.getElementById("apDiv1").style.visibility = "hidden";
document.getElementById("container").style.visibility = "hidden";
//document.getElementById("apDiv1").style.display="none";
//document.getElementById("container").style.display="none";
}
if (navigator.appName && navigator.appName.indexOf("Microsoft") != -1 &&
navigator.userAgent.indexOf("Windows") != -1 && navigator.userAgent.indexOf("Windows 3.1") == -1) {
document.write('<SCRIPT LANGUAGE=VBScript\> \n');
document.write('on error resume next \n');
document.write('Sub myFlash_FSCommand(ByVal command, ByVal args)\n');
document.write(' call myFlash_DoFSCommand(command, args)\n');
document.write('end sub\n');
document.write('</SCRIPT\> \n');
}
var updated = false;
var dragstart = false;
var firstget = true;
var xpanel;
var ypanel;
var top;
var left;
function storeXML(){
if (updated){
var fso = new ActiveXObject("Scripting.FileSystemObject");
var a = fso.CreateTextFile(""+abspath+"feeds.xml", true);
a.WriteLine(xmlString);
a.Close();
}
}
function setDragStart(b){
dragstart = b;
if (b){
if (firstget){
left = document.getElementById("container").offsetLeft;
top = document.getElementById("container").offsetTop;
firstget = false;
}
else{
top = parseInt(document.getElementById("container").style.top);
left = parseInt(document.getElementById("container").style.left);
}
//alert("left:"+left+"top:"+top);
xpanel = window.event.clientX;
ypanel = window.event.clientY;
}
//if (!b){
// alert("you release!");
//}
}
function dragPanel(){
if (dragstart){
document.getElementById("container").style.left = (left+(window.event.clientX-xpanel));
document.getElementById("container").style.top = (top+(window.event.clientY-ypanel));
//alert("dx:"+(window.event.clientX-xpanel)+"dy:"+(window.event.clientY-ypanel)+"\n"+
// "xpanel:"+document.getElementById("container").style.left+"ypanel:"+document.getElementById("container").style.top);
}
}
//-->
</SCRIPT>
<div id="chtml"></div>
<div id="main">
<table border="0" cellpadding="0">
<tr valign="top">
<td><object type="application/x-shockwave-flash" width="750" height="680" id="myFlash">
<param name="wmode" value="transparent" />
<param name=movie value="FeedArts.swf">
<param name=quality value=high>
<param name=bgcolor value=#CCCCCC>
<embed src="FeedArts.swf" quality=high bgcolor=#CCCCCC width="750" height="680" name="myFlash" swliveconnect="true" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>
</object></td>
<td>
<div id="container">
<div id="apDiv1"></div>
</div></td>
</tr>
</table>
</div>
</BODY>
</HTML>