function newuntill(date) {
 var newimg = "http://pics.dockreyapartments.com/new.gif";
 var expdate = new Date(date);
 var curdate = new Date();
 if (expdate.getTime() > curdate.getTime())
 {
 document.write('<img src=' + newimg + '>');
 }}
function movein2(which){
which.style.background='turquoise'
}
function movein(which,html){
which.style.background='turquoise'
window.status=html
}
function moveout(which){
which.style.background='#d4d0c8'
window.status=''
}
function logoout(which){
which.style.background="#eeeeee"
window.status=''
}
(document.getElementById) ? dom = true : dom = false;
function hideit(id) {
 if (dom) {document.getElementById(id).style.visibility='hidden';}
 if (document.layers) {document.layers[id].visibility='hide';} }
function showit(id) {
 if (dom) {document.getElementById(id).style.visibility='visible';}
 if (document.layers) {document.layers[id].visibility='show';} }
function popup(url) { var box
box = window.open(url,'newwin',',locationbar=0,left=0,top=0,scrollbars=yes,width=400,height=400');
box.focus(); }
function popup2(url) { var box
box = window.open(url,'newwin2',',locationbar=0,left=405,top=0,scrollbars=yes,width=400,height=400');
box.focus(); }
function popup3(url) { var box
box = window.open(url,'newwin3',',locationbar=0,left=800,top=00,scrollbars=yes,width=400,height=400');
box.focus(); }
function popupfeed(url) { // string to specify window features
var myfeatures = "toolbar=no,location=no,directories=no,menubar=no,scrollbars=yes,status=yes,resizable=no,width=800,height=550";
thefeed = window.open( url, 'feed2jspop', myfeatures);
if (window.focus) {thefeed.focus()} }
function frameprint(whichFrame){ parent[whichFrame].focus();
parent[whichFrame].print(); }
function helptip(text) {  DispWin = window.open('','NewWin','toolbar=no,scrollbar=yes,status=no,width=350,height=130')
message1 = '<head><title>Help</title>';
message1 += '<meta http-equiv="refresh" content="10:URL=JAVASCRIPT:self.close();" >';
message1 += '<body onmouseover="window.close();" onload="self.focus();" onblur="window.close();" >';
message1 += text;
message1 += '<br><center><Input Class="menu" Type="button" value="close" id="cbutton" title="CloseWindow" onclick="window.close();">';
DispWin.document.write(message1);
DispWin.window.moveTo(50,300); }
