function addBookmark(title,url) 
{	
	if (window.sidebar) 
	{ // Mozilla Firefox Bookmark
		alert("Press CTRL + D to bookmark this page");
		//window.sidebar.addPanel(title, url,"");
	} 
	else if( window.external ) 
	{ // IE Favorite
		window.external.AddFavorite(url, title); 
	}
	else if(window.opera && window.print) 
	{ // Opera Hotlist
		return true; 
	}
}

function new_window(url)
{
	newwindow=window.open(url,'name','height=500,width=760');
	if (window.focus) {newwindow.focus()}
}


function SetStatusText(text)
{
	//alert(text);
	window.status=text;
}

function popup_window(url)
{
	newwindow=window.open(url,'name','fullscreen=1,toolbar=1,scrollbars=1,location=1,statusbar=1,menubar=1,resizable=1');
	if (window.focus) {newwindow.focus();}
	return false;
}

function MouseOver(img)
{
	img.className=='solid' ? img.className='dashed' : img.className=img.className;
}
function MouseOut(img)
{
	img.className=='dashed' ? img.className='solid' : img.className=img.className;
}
function MouseDown(img)
{
	img.className='visited';
}

function order_by_refresh(url)
{
	var ind = document.order_by_form.order_by.selectedIndex;
	var id = document.order_by_form.order_by.options[ind].value;
	window.location = url + "&order_by=" + id;
}

function disp_type_refresh(url)
{
	var ind = document.disp_type_form.disp_type.selectedIndex;
	var id = document.disp_type_form.disp_type.options[ind].value;
	window.location = url + "&disp_type=" + id;
}

function num_per_page_refresh(url)
{
	var ind = document.num_per_page_form.num_per_page.selectedIndex;
	var id = document.num_per_page_form.num_per_page.options[ind].value;
	window.location = url + "&num_per_page=" + id;
}