var img_temp_arr=new Array();
var img_temp_num=0;
function temp_img(src)
{
	img_temp_num++;
	img_temp_arr[img_temp_num]=new Image();
	img_temp_arr[img_temp_num].src=src;
}
function popup(http, w, h)
{
	if ((w==undefined)||(w=='')) { w=850; }
	if ((h==undefined)||(h=='')) { h=600; }
	win=window.open(http, '', "height="+h+",width="+w+",scrollbars=1,resizable=1");
	win.focus();
}

function test(str)
{
	//$("#left_div2").html(str);
}

function getBodyScrollTop()
{
  return self.pageYOffset || (document.documentElement && document.documentElement.scrollTop) || (document.body && document.body.scrollTop);
}

var img_temp_arr=new Array();
var img_temp_num=0;
function temp_img(src)
{
	img_temp_num++;
	img_temp_arr[img_temp_num]=new Image();
	img_temp_arr[img_temp_num].src=src;
}

function getClientHeight()
{
  return document.compatMode=='CSS1Compat' && !window.opera?document.documentElement.clientHeight:document.body.clientHeight;
}
function body_h()
{
  return document.compatMode=='CSS1Compat' && !window.opera?document.documentElement.clientHeight:document.body.clientHeight;
}
function body_w()
{
  return document.compatMode=='CSS1Compat' && !window.opera?document.documentElement.clientWidth:document.body.clientWidth;
}

function is_numeric(input){
    return typeof(input)=='number';
  }
function input_is_numeric(input){
    return !isNaN(input);
  }

function is_object (mixed_var){
 
    if (mixed_var instanceof Array) {
        return false;
    } else {
        return (mixed_var !== null) && (typeof( mixed_var ) == 'object');
    }
}