// functie pentru vizualizarea imaginilor intr-o fereastra popup
function open_window(img,w,h) {
	winWidth = w
	winHeight = h
	leftPos = screen.width/2 - winWidth/2
	topPos = (screen.height/2 - winHeight/2) - 30
	win = window.open(img, "wind", "width="+ winWidth +",height="+ winHeight +",scrollbars=yes,resizable=no,left="+ leftPos +",top="+ topPos +"")
	win.focus()	
}

function bookmarksite(title,url){
if (window.sidebar) // firefox
	window.sidebar.addPanel(title, url, "");
else if(window.opera && window.print){ // opera
	var elem = document.createElement('a');
	elem.setAttribute('href',url);
	elem.setAttribute('title',title);
	elem.setAttribute('rel','sidebar');
	elem.click();
} 
else if(document.all)// ie
	window.external.AddFavorite(url, title);
}

function checkformsendcomments(){
	
	
}
