<!--
window.name="a_Jordan_Main" 

function openCam() {
newWindow1=window.open("dormcam.cgi", "DormCam", "scrollbars=no, toolbar=no, menubar=no, status=no, location=no, directories=no, width=330, height=250");
}

function openCam2() {
newWindow1=window.open("dorm.html", "DormCam", "scrollbars=no, toolbar=no, menubar=no, status=no, location=no, directories=no, width=330, height=250");
}

function openMusic() {
newWindow2=window.open("winamp.html","Winamp", "toolbar=no, menubar=no, status=no, location=no, directories=no, width=610, height=500 scrollbars=yes, resizeable=yes")
}

function openPager() {
newWindow3=window.open("icqpager.html","IcqPager","scrollbars=no, toolbar=no, menubar=no, status=no, location=no, directories=no, width=330, height=300")
}

function openWeather() {
newWindow4=window.open("weather.html","Weather","scrollbars=no, toolbar=no, menubar=no, status=no, location=no, directories=no, width=300, height=170")
}

var dragapproved=false
var z,x,y
function move(){
if (event.button==1&&dragapproved){
z.style.pixelLeft=temp1+event.clientX-x
z.style.pixelTop=temp2+event.clientY-y
return false
}
}
function drags(){
if (!document.all)
return
if (event.srcElement.className=="drag"){
dragapproved=true
z=event.srcElement
temp1=z.style.pixelLeft
temp2=z.style.pixelTop
x=event.clientX
y=event.clientY
document.onmousemove=move
}
}
document.onmousedown=drags
document.onmouseup=new Function("dragapproved=false")

var hotkey=104
var destination="http://www.jordan.wiens.com/"
if (document.layers)
document.captureEvents(Event.KEYPRESS)
function backhome(e){
if (document.layers){
if (e.which==hotkey)
window.location=destination
}
else if (document.all){
if (event.keyCode==hotkey)
window.location=destination
}
}
document.onkeypress=backhome



