// JavaScript Document
function changeOrder(table, passform, index_agent, index_value, relay){
	window.location = "http://www.isoproperty.com/admin/edit_list_order.php?table=" + table + "&list_order=" + passform.value + "&index_agent="+index_agent+"&index_value="+index_value+"&relay=" + relay;
}
function pop_image(image, cat){
	popUp = window.open("http://www.isoproperty.com/image_pop.php?image="+image+"&cat_id="+cat,"Gallery_Page","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=yes,width=650,height=600, left=0, top=0")
	popUp.focus()
}
function pop_listing(image, listing){
	popUp = window.open("http://www.isoproperty.com/listing_pop.php?image="+image+"&listing_id="+listing,"Gallery_Page","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=yes,width=650,height=600, left=0, top=0")
	popUp.focus()
}
function swap_image(image, target){
	$new_image = "http://www.isoproperty.com/post_images/" + image;
	document.target.src = $new_image;
}

if (document.images) { 

var next_a = new Image(69,11); 
next_a.src = "http://www.isoproperty.com/images/next_a.gif"; 
var previous_a = new Image(91,11); 
previous_a.src = "http://www.isoproperty.com/images/previous_a.gif"; 

var next_n = new Image(69,11); 
next_n.src = "http://www.isoproperty.com/images/next_n.gif"; 
var previous_n = new Image(91,11); 
previous_n.src = "http://www.isoproperty.com/images/previous_n.gif";

var info_a = new Image(127,8); 
info_a.src = "http://www.isoproperty.com/images/info_a.gif"; 
var info_n = new Image(127,8); 
info_n.src = "http://www.isoproperty.com/images/info_n.gif"; 

}

function act(imgName) { 
if (document.images) document[imgName].src = eval(imgName + "_a.src"); 
}

function inact(imgName) { 
if (document.images) document[imgName].src = eval(imgName + "_n.src"); 
}

