
function switch_bigimg(imgname,src){
	//2011.03.03 - Jon Hulka - generic feed codes (oh=openhouse, p2a=Point2Agent, mls,...)
	var pre=src=='oh'?js_dir_user+'/users/'+USER_ID+'/ads/':'./'+src+'/agents/'
	//var pre=src=='p2'?'./p2a/agents/':js_dir_user+'/users/'+USER_ID+'/ads/';
	//if (src == 'p2') alert (imgname);
    document.images['bigimg'].src=pre+imgname+'.jpg';
}
function switch_img(imgname,status,dir){
    document.images[imgname].src=js_dir_user+'/users/'+USER_ID+'/ads/'+imgname+status+'.jpg';
}     

function winBRopen(theURL, Name, popW, popH, scroll) { // V 1.0
    var winleft = (screen.width - popW) / 2;
    var winUp = (screen.height - popH) / 2;
    winProp = 'width='+popW+',height='+popH+',left='+winleft+',top='+winUp+',scrollbars='+scroll+',resizable=no'
    Win = window.open(theURL, Name, winProp)
    if (parseInt(navigator.appVersion) >= 4) { Win.window.focus(); }
}

function PreviousPage() {

  history.back(1);

}

