<!-- 
function popRoom(docsrc) {

var docwidth = 350, docheight = 350, docleft = ((screen.width/2) - 250), doctop = ((screen.height/2) - 200);
	if (window.win && window.win.open && !window.win.closed){
		win.focus();
	}
	else
	{
	win = window.open(docsrc, 'Room', 'toolbars=no,scrollbars=yes,location=no,statusbars=no,menubars=no,resizable=no,width=' + docwidth + ',height=' + docheight + ',left=' + docleft + ',top=' + doctop);
	}
}
function popFileUpload(docsrc) {

var docwidth = 450, docheight = 450, docleft = ((screen.width/2) - 250), doctop = ((screen.height/2) - 250);
	if (window.win && window.win.open && !window.win.closed){
		win.focus();
	}
	else
	{
	win = window.open(docsrc, 'Room', 'toolbars=no,scrollbars=yes,location=no,statusbars=no,menubars=no,resizable=yes,width=' + docwidth + ',height=' + docheight + ',left=' + docleft + ',top=' + doctop);
	}
}
function popMap(docsrc) {

var docwidth = 780, docheight = 620, docleft = ((screen.width/2) - 380), doctop = ((screen.height/2) - 270);
	if (window.win && window.win.open && !window.win.closed){
		win.focus();
	}
	else
	{
	win = window.open(docsrc, 'Map', 'toolbars=no,scrollbars=yes,location=no,statusbars=no,menubars=no,resizable=no,width=' + docwidth + ',height=' + docheight + ',left=' + docleft + ',top=' + doctop);
	}
}
function popOrders(docsrc) {

var docwidth = 780, docheight = 620, docleft = ((screen.width/2) - 380), doctop = ((screen.height/2) - 270);
	if (window.win && window.win.open && !window.win.closed){
		win.focus();
	}
	else
	{
	win = window.open(docsrc, 'Orders', 'toolbars=no,scrollbars=yes,location=no,statusbars=no,menubars=no,resizable=no,width=' + docwidth + ',height=' + docheight + ',left=' + docleft + ',top=' + doctop);
	}
}
function popGallery(docsrc) {

var docwidth = 500, docheight = 400, docleft = ((screen.width/2) - 250), doctop = ((screen.height/2) - 200);
	if (window.win && window.win.open && !window.win.closed){
		win.focus();
	}
	else
	{
	win = window.open(docsrc, 'Enrichment', 'toolbars=no,scrollbars=yes,location=no,statusbars=no,menubars=no,resizable=no,width=' + docwidth + ',height=' + docheight + ',left=' + docleft + ',top=' + doctop);
	}
}
function popImageGallery(docsrc) {

var docwidth = 450, docheight = 550, docleft = ((screen.width/2) - 250), doctop = ((screen.height/2) - 200);
	if (window.win && window.win.open && !window.win.closed){
		win.focus();
	}
	else
	{
	win = window.open(docsrc, 'Enrichment', 'toolbars=no,scrollbars=yes,location=no,statusbars=no,menubars=no,resizable=no,width=' + docwidth + ',height=' + docheight + ',left=' + docleft + ',top=' + doctop);
	}
}
function popVirtualise(docsrc) {

var docwidth = 500, docheight = 400, docleft = ((screen.width/2) - 250), doctop = ((screen.height/2) - 200);
	if (window.win && window.win.open && !window.win.closed){
		win.focus();
	}
	else
	{
	win = window.open(docsrc, 'Enrichment', 'toolbars=no,scrollbars=yes,location=no,statusbars=no,menubars=no,resizable=no,width=' + docwidth + ',height=' + docheight + ',left=' + docleft + ',top=' + doctop);
	}
}
function popDirections(docsrc) {

var docwidth = 500, docheight = 400, docleft = ((screen.width/2) - 250), doctop = ((screen.height/2) - 200);
	if (window.win && window.win.open && !window.win.closed){
		win.focus();
	}
	else
	{
	win = window.open(docsrc, 'Enrichment', 'toolbars=no,scrollbars=yes,location=no,statusbars=no,menubars=no,resizable=no,width=' + docwidth + ',height=' + docheight + ',left=' + docleft + ',top=' + doctop);
	}
}
function popFeaturedProp(docsrc) {

var docwidth = 450, docheight = 350, docleft = ((screen.width/2) - 250), doctop = ((screen.height/2) - 200);
	if (window.win && window.win.open && !window.win.closed){
		win.focus();
	}
	else
	{
	win = window.open(docsrc, 'Enrichment', 'toolbars=no,scrollbars=yes,location=no,statusbars=no,menubars=no,resizable=no,width=' + docwidth + ',height=' + docheight + ',left=' + docleft + ',top=' + doctop);
	}
}
function popOnShow(docsrc) {

var docwidth = 450, docheight = 350, docleft = ((screen.width/2) - 250), doctop = ((screen.height/2) - 200);
	if (window.win && window.win.open && !window.win.closed){
		win.focus();
	}
	else
	{
	win = window.open(docsrc, 'Enrichment', 'toolbars=no,scrollbars=yes,location=no,statusbars=no,menubars=no,resizable=no,width=' + docwidth + ',height=' + docheight + ',left=' + docleft + ',top=' + doctop);
	}
}
function popOpenHour(docsrc) {

var docwidth = 450, docheight = 350, docleft = ((screen.width/2) - 250), doctop = ((screen.height/2) - 200);
	if (window.win && window.win.open && !window.win.closed){
		win.focus();
	}
	else
	{
	win = window.open(docsrc, 'Enrichment', 'toolbars=no,scrollbars=yes,location=no,statusbars=no,menubars=no,resizable=no,width=' + docwidth + ',height=' + docheight + ',left=' + docleft + ',top=' + doctop);
	}
}
function popFarmLivestock(docsrc) {

var docwidth = 550, docheight = 450, docleft = ((screen.width/2) - 250), doctop = ((screen.height/2) - 200);
	if (window.win && window.win.open && !window.win.closed){
		win.focus();
	}
	else
	{
	win = window.open(docsrc, 'Enrichment', 'toolbars=no,scrollbars=yes,location=no,statusbars=no,menubars=no,resizable=no,width=' + docwidth + ',height=' + docheight + ',left=' + docleft + ',top=' + doctop);
	}
}
function popFarmProduce(docsrc) {

var docwidth = 550, docheight = 350, docleft = ((screen.width/2) - 250), doctop = ((screen.height/2) - 200);
	if (window.win && window.win.open && !window.win.closed){
		win.focus();
	}
	else
	{
	win = window.open(docsrc, 'Enrichment', 'toolbars=no,scrollbars=yes,location=no,statusbars=no,menubars=no,resizable=no,width=' + docwidth + ',height=' + docheight + ',left=' + docleft + ',top=' + doctop);
	}
}
function popDetails(docsrc) {

var docwidth = 550, docheight = 450, docleft = ((screen.width/2) - 250), doctop = ((screen.height/2) - 200);
	if (window.win && window.win.open && !window.win.closed){
		win.focus();
	}
	else
	{
	win = window.open(docsrc, 'Enrichment', 'toolbars=no,scrollbars=yes,location=no,statusbars=no,menubars=no,resizable=no,width=' + docwidth + ',height=' + docheight + ',left=' + docleft + ',top=' + doctop);
	}
}
function popVTour(docsrc) {

var docwidth = 340, docheight = 240, docleft = ((screen.width/2) - 250), doctop = ((screen.height/2) - 225);
	if (window.win && window.win.open && !window.win.closed){
		win.focus();
	}
	else
	{
	win = window.open(docsrc, 'Enrichment', 'toolbars=no,scrollbars=no,location=no,statusbars=no,menubars=no,resizable=yes,width=' + docwidth + ',height=' + docheight + ',left=' + docleft + ',top=' + doctop);
	}
}
function popIpix(docsrc) {

var docwidth = 350, docheight = 350, docleft = ((screen.width/2) - 150), doctop = ((screen.height/2) - 150);
	if (window.win && window.win.open && !window.win.closed){
		win.focus();
	}
	else
	{
	win = window.open(docsrc, 'Enrichment', 'toolbars=no,scrollbars=no,location=no,statusbars=no,menubars=no,resizable=yes,width=' + docwidth + ',height=' + docheight + ',left=' + docleft + ',top=' + doctop);
	}
}
function popUser(docsrc) {

var docwidth = 450, docheight = 350, docleft = ((screen.width/2) - 150), doctop = ((screen.height/2) - 150);
	if (window.win && window.win.open && !window.win.closed){
		win.focus();
	}
	else
	{
	win = window.open(docsrc, 'User', 'toolbars=no,scrollbars=yes,location=no,statusbars=no,menubars=no,resizable=yes,width=' + docwidth + ',height=' + docheight + ',left=' + docleft + ',top=' + doctop);
	}
}
function popFriend(docsrc) {

var docwidth = 500, docheight = 550, docleft = ((screen.width/2) - 250), doctop = ((screen.height/2) - 200);
	if (window.win && window.win.open && !window.win.closed){
		win.focus();
	}
	else
	{
	win = window.open(docsrc, 'Friend', 'toolbars=no,scrollbars=yes,location=no,statusbars=no,menubars=no,resizable=no,width=' + docwidth + ',height=' + docheight + ',left=' + docleft + ',top=' + doctop);
	}
}
function popFreeTrial(docsrc) {

var docwidth = 450, docheight = 450, docleft = ((screen.width/2) - 225), doctop = ((screen.height/2) - 200);
	if (window.win && window.win.open && !window.win.closed){
		win.focus();
	}
	else
	{
	win = window.open(docsrc, 'Friend', 'toolbars=no,scrollbars=yes,location=no,statusbars=no,menubars=no,resizable=no,width=' + docwidth + ',height=' + docheight + ',left=' + docleft + ',top=' + doctop);
	}
}
function popShortList(docsrc) {

var docwidth = 400, docheight = 350, docleft = ((screen.width/2) - 200), doctop = ((screen.height/2) - 200);
	if (window.win && window.win.open && !window.win.closed){
		win.focus();
	}
	else
	{
	win = window.open(docsrc, 'Friend', 'toolbars=no,scrollbars=yes,location=no,statusbars=no,menubars=no,resizable=no,width=' + docwidth + ',height=' + docheight + ',left=' + docleft + ',top=' + doctop);
	}
}
function popSuburbSearch(docsrc) {

var docwidth = 400, docheight = 350, docleft = ((screen.width/2) - 200), doctop = ((screen.height/2) - 200);
	if (window.win && window.win.open && !window.win.closed){
		win.focus();
	}
	else
	{
	win = window.open(docsrc, 'Friend', 'toolbars=no,scrollbars=yes,location=no,statusbars=no,menubars=no,resizable=no,width=' + docwidth + ',height=' + docheight + ',left=' + docleft + ',top=' + doctop);
	}
}
function popPassword(docsrc) {

var docwidth = 400, docheight = 350, docleft = ((screen.width/2) - 200), doctop = ((screen.height/2) - 200);
	if (window.win && window.win.open && !window.win.closed){
		win.focus();
	}
	else
	{
	win = window.open(docsrc, 'Friend', 'toolbars=no,scrollbars=yes,location=no,statusbars=no,menubars=no,resizable=no,width=' + docwidth + ',height=' + docheight + ',left=' + docleft + ',top=' + doctop);
	}
}
function popSMS(docsrc) {

var docwidth = 400, docheight = 350, docleft = ((screen.width/2) - 200), doctop = ((screen.height/2) - 200);
	if (window.win && window.win.open && !window.win.closed){
		win.focus();
	}
	else
	{
	win = window.open(docsrc, 'Friend', 'toolbars=no,scrollbars=yes,location=no,statusbars=no,menubars=no,resizable=no,width=' + docwidth + ',height=' + docheight + ',left=' + docleft + ',top=' + doctop);
	}
}
function popMailList(docsrc) {

var docwidth = 350, docheight = 250, docleft = ((screen.width/2) - 250), doctop = ((screen.height/2) - 200);
	if (window.win && window.win.open && !window.win.closed){
		win.focus();
	}
	else
	{
	win = window.open(docsrc, 'MailList', 'toolbars=no,scrollbars=yes,location=no,statusbars=no,menubars=no,resizable=no,width=' + docwidth + ',height=' + docheight + ',left=' + docleft + ',top=' + doctop);
	}
}

function popBrochure(docsrc) {

var docwidth = 650, docheight = 450, docleft = ((screen.width/2) - 300), doctop = ((screen.height/2) - 300);
	if (window.winR && window.winR.open && !window.winR.closed){
		winR.focus();
	}
	else
	{
	winR = window.open(docsrc, 'Brochure', 'toolbars=no,scrollbars=yes,location=no,statusbars=no,menubars=no,resizable=no,width=' + docwidth + ',height=' + docheight + ',left=' + docleft + ',top=' + doctop);
	}
}
function popDemo(docsrc) {

var docwidth = 700, docheight = 550, docleft = ((screen.width/2) - 350), doctop = ((screen.height/2) - 275);
	{
	win = window.open(docsrc, 'Map', 'toolbars=no,scrollbars=yes,location=no,statusbars=no,menubars=no,resizable=yes,width=' + docwidth + ',height=' + docheight + ',left=' + docleft + ',top=' + doctop);
	}
}
function popStaff(docsrc) {
	window.open(docsrc, 'Popup', 'toolbars=no,scrollbars=yes,location=no,statusbars=no,menubars=no,resizable=no,width=400,height=550,left=362,top=100');
}

function sugPop(docsrc) {

var docwidth = 400, docheight = 350, docleft = ((screen.width/2) - 150), doctop = ((screen.width/2) - 250);
	if (window.win && window.win.open && !window.win.closed){
		win.focus();
	}
	else
	{
	win = window.open(docsrc, 'Popup', 'toolbars=no,scrollbars=yes,location=no,statusbars=no,menubars=no,resizable=no,width=' + docwidth + ',height=' + docheight + ',left=' + docleft + ',top=' + doctop);
	}
}

function popImageUpload(docsrc) {          
  var docwidth = 500, docheight = 700;
  var docleft = ((screen.width/2) - 250), doctop = ((screen.height/2) - 200);
  if (typeof(popWin) != "undefined" && !popWin.closed && !popWin.focus()){      
    popWin.focus();
  } 
  else
  {
    popWin = window.open(docsrc, 'Image', 'toolbars=no,scrollbars=yes,location=no,statusbars=no,menubars=no,resizable=no,width=' + docwidth + ',height=' + docheight + ',left=' + docleft + ',top=' + doctop);
  }
}

function popImageUpload(docsrc, width, height) {          
  var docwidth = width, docheight = height;
  var docleft = ((screen.width/2) - 250), doctop = ((screen.height/2) - 200);
  if (typeof(popWin) != "undefined" && !popWin.closed && !popWin.focus()){      
    popWin.focus();
  } 
  else
  {
    popWin = window.open(docsrc, 'Image', 'toolbars=no,scrollbars=yes,location=no,statusbars=no,menubars=no,resizable=no,width=' + docwidth + ',height=' + docheight + ',left=' + docleft + ',top=' + doctop);
  }
}

function popGalleryUpload(docsrc) {          
  var docwidth = 500, docheight = 650;
  var docleft = ((screen.width/2) - 250), doctop = ((screen.height/2) - 200);
  if (typeof(popWin) != "undefined" && !popWin.closed && !popWin.focus()){      
    popWin.focus();
  } 
  else
  {
    popWin = window.open(docsrc, 'Gallery', 'toolbars=no,scrollbars=yes,location=no,statusbars=no,menubars=no,resizable=no,width=' + docwidth + ',height=' + docheight + ',left=' + docleft + ',top=' + doctop);
  }
}   
function popImageUpload_edit(docsrc,control) {    
  var chkBox = control;
  if(chkBox.checked==false)
    return false;
    
  var docwidth = 450, docheight = 350;
  var docleft = ((screen.width/2) - 250), doctop = ((screen.height/2) - 200);
  if (typeof(popWin) != "undefined" && !popWin.closed && !popWin.focus()){      
    popWin.focus();
  } 
  else
  {
    popWin = window.open(docsrc, 'Image', 'toolbars=no,scrollbars=yes,location=no,statusbars=no,menubars=no,resizable=no,width=' + docwidth + ',height=' + docheight + ',left=' + docleft + ',top=' + doctop);
  }
}

 // RightClickMenu
function showmenuie5(){
		var rightedge=document.body.clientWidth-event.clientX
		var bottomedge=document.body.clientHeight-event.clientY
		if (rightedge<ie5menu.offsetWidth)
			ie5menu.style.left=document.body.scrollLeft+event.clientX-ie5menu.offsetWidth
		else
			ie5menu.style.left=document.body.scrollLeft+event.clientX
		if (bottomedge<ie5menu.offsetHeight)
			ie5menu.style.top=document.body.scrollTop+event.clientY-ie5menu.offsetHeight
		else
			ie5menu.style.top=document.body.scrollTop+event.clientY
		ie5menu.style.visibility="visible"
		return false
}
function hidemenuie5(){
		ie5menu.style.visibility="hidden"
}
function highlightie5(){
		if (event.srcElement.className=="menuitems"){
			event.srcElement.style.backgroundColor="highlight"
			event.srcElement.style.color="white"
		}
}
function lowlightie5(){
		if (event.srcElement.className=="menuitems"){
			event.srcElement.style.backgroundColor=""
			event.srcElement.style.color="black"
		}
} 
function jumptoie5(){
		if (event.srcElement.className=="menuitems"){
			if (event.srcElement.url != ''){
				if (event.srcElement.getAttribute("target")!=null)
					window.open(event.srcElement.url,event.srcElement.getAttribute("target"))
				else
					window.location=event.srcElement.url
			}
		}
}
function PopUpload(docsrc) {

var docwidth = 400, docheight = 350, docleft = ((screen.width/2) - 150), doctop = ((screen.width/2) - 250);
	if (window.win && window.win.open && !window.win.closed){
		win.focus();
	}
	else
	{
	win = window.open(docsrc, 'Popup', 'toolbars=no,scrollbars=yes,location=no,statusbars=no,menubars=no,resizable=no,width=' + docwidth + ',height=' + docheight + ',left=' + docleft + ',top=' + doctop);
	}
}

function popExtraDetails(docsrc) {

var docwidth = 550, docheight = 450, docleft = ((screen.width/2) - 250), doctop = ((screen.height/2) - 200);
	if (window.win && window.win.open && !window.win.closed){
		win.focus();
	}
	else
	{
	win = window.open(docsrc, 'Friend', 'toolbars=no,scrollbars=yes,location=no,statusbars=no,menubars=no,resizable=no,width=' + docwidth + ',height=' + docheight + ',left=' + docleft + ',top=' + doctop);
	}
}
function popXYPicker(docsrc, docwidth, docheight) {
var docleft = ((screen.width/2) - 200), doctop = ((screen.height/2) - 200);
	if (window.win && window.win.open && !window.win.closed){
		win.focus();
	}
	else
	{
	win = window.open(docsrc, 'XYPicker', 'toolbars=no,scrollbars=no,location=no,statusbars=yes,menubars=no,resizable=no,width=' + docwidth + ',height=' + docheight + ',left=' + docleft + ',top=' + doctop);
	}
}
// -->
