// Add bookmark for both browser engines...
function addBookmark(title,url) {
  if (window.sidebar) {
    window.sidebar.addPanel(title, url,"");
  } else if( document.all ) {
    window.external.AddFavorite( url, title);
  } else if( window.opera && window.print ) {
    return true;
  }
} 

function goSpecials(){
	
	
	url=document.specials.category.options[document.specials.category.selectedIndex].value ;
	if (url!=0){
		window.location=url	
	}
}

function popUpWindow( vURL, vWinName, vWidth, vHeight, vScrollbar)
{
	if (! window.focus)return true;
	
	var vhref;
	var vSWidth = screen.width
	var vSHeight = screen.height
	
	if(vScrollbar == "yes")
	{
		vWidth = new Number(vWidth) + 16
	}
	
	var vleftPos = (vSWidth / 2) - (vWidth / 2)
	var vtopPos = (vSHeight / 2) - (vHeight / 2)
	
	if (typeof(mylink) == 'string')
	{
		vhref = vURL;
	} else {
		vhref = vURL.href;
		window.open(vhref, vWinName, 'scrollbars=' + vScrollbar + ',statusbar=no,menubar=0,width=' + vWidth + ',height=' + vHeight + ',left=' + vleftPos + ',top=' + vtopPos);
	
		return false;
	}
}


function SaveNewsLetter()
{
	document.newslettersubscribe.useraction.value = "SaveNewsLetter";
	document.newslettersubscribe.submit();	
}

function GoToPage(sPage)
{
	document.location.href = sPage;	
}

