function catz(){
	catz = window.open('pages/admin/admin_categorize.cfm','','toolbar=0,links=0,height=954,width=1280,scrollbars=1,resizable,status=1');
	catz.focus();
	catz.moveTo(-4,-5)
}
function findSelectValues(object,source,target,rType) {
	var source = eval('object.' + source)
    for (var Current=0;Current <  source.options.length ;Current++) {
		var targetfield = eval('object.' + target);
        if (source.options[Current].selected) {
			if(rType == 1){targetfield.value  = source.options[Current].text;} 
			else 
			if(rType == 0){targetfield.value  = source.options[Current].value;}
			else {targetfield.value  = Current}
        }
    }
}
function viewer(query_string){
	Viewer = top.window.open('pages/photo_Gallery.cfm?PGMode=view&' + query_string,'Viewer','toolbar=0,links=0,scrollbars=1,resizable');
	Viewer.focus();
}

function copyText(obj) {
		if (obj.type=="text" || obj.type=="textarea"){var rng = obj.createTextRange();} 
		else {var rng = document.body.createTextRange();rng.moveToElementText(obj);}
		rng.scrollIntoView();rng.select();rng.execCommand("Copy")
}

function navRoll(OBJ,LINK,action) {
	if(action == 'over'){
		OBJ.style.background 	= '#E8E8E8';
		LINK.style.color 		= '#FF0000';
		} else {
		OBJ.style.background 	= '#FFFFFF';
		LINK.style.color 		= '#000000';
		}
}
function tRoll(OBJ,action) {
	if(action == 'over'){
		OBJ.style.background 	= '#4D76E5';
		} else {
		OBJ.style.background 	= '#000000';
		}
}
//function openDemo(){demo = window.open('demo/index.cfm','demo','toolbar=1,location=1,links=0,height=950,width=607,scrollbars=1,status=0');}

/* SideLog Loop*/
var c=0;
var t;
function logList(){
	call_1('TMPV2/sideLog.cfm','loglist');
	c=c+1
	t=setTimeout("logList()",180000)	
}				
/* SideLog Loop*/