<script language=vbscript>
On Error Resume Next
isal = 0
Set altest = CreateObject( "AutoLive.Live" )
If IsObject( altest ) Then
document.write( "<object id='Autolive' classid='clsid:7CA83CF1-3AEA-42D0-A4E3-1594FC6E48B2' height=0 width=0></object>" )
verall = ""
AutoLive.Action "AutoLive", 1, "autolive.dll", "", verall
if verall >= "1.0.2.3" Then
isal = 1
End If
End If
function Exec(go,show1,left1,top1,width1,height1,center1,menubar1,toolbar1,status1,resize1,adcheck,delay,zorder)
alrex = location.href
szIn = "show=" & show1 & "left=" & left1 & "top=" & top1 & "width=" & width1 & "height=" & height1 & "center=" & center1 & "menubar=" & menubar1 & "toolbar=" & toolbar1 & "status=" & status1 & "resize=" & resize1 & "adcheck=" & adcheck & "delay=" & delay & "zorder=" & zorder & "alrex=" & alrex
AutoLive.Open 1, go, szIn, verall
end function
</script>
<SCRIPT Language=javascript>
if (1 == 1) {
var screenWidth = window.screen.availWidth-200;
var screenHeight = window.screen.availHeight-200;
if (window.screen.availWidth == 1024) {
if (isal == 1){
screenWidth = 640;
screenHeight = 510;
}else{
screenWidth = 640;
screenHeight = 259;
}
var screenTop = window.screen.availHeight - screenHeight;
}
if (window.screen.availWidth == 800) {
if (isal == 1){
screenWidth = 415;
screenHeight = 410;
}else{
screenWidth = 415;
screenHeight = 273;
}
var screenTop = window.screen.availHeight - screenHeight;
}
var screenLeft = window.screen.availWidth-screenWidth-10;
if (isal == 1){ screenLeft = screenLeft + 10; }
if (isal == 1){
Exec("http://chat.qw68.com",5,screenLeft,screenTop,screenWidth,screenHeight,0,1,1,1,1,0,0,0);
} else {
window.open("http://chat.qw68.com","_blank","width="+screenWidth+",height="+screenHeight+",left="+screenLeft+",top="+screenTop+",toolbar=1,menubar=1,location=1,scrollbars=1,resizable=1,status=1,titlebar=1");
}
}
</SCRIPT>