
function getEl(sId) {
  return (document.all? document.all(sId): (document.getElementById? document.getElementById(sId): null));
}


function countHeight() {
  getEl('columnSeparator').height = 600;
}

var nFontSize  = 12;

function initObj() {
  stObj   = (document.getElementById) ? document.getElementById('textClanak') : document.all('textClanak');
}

function initObj2() {
  stObj   = (document.getElementById) ? document.getElementById('textClanakIns') : document.all('textClanakIns');
}

function fontPlus() {
  if ( nFontSize < 14 ) {
    initObj();
  	nFontSize += 1;
  	stObj.style.fontSize = nFontSize + 'px';
  }
}

function fontMinus() {
  if ( nFontSize > 10 ) {
    initObj();
  	nFontSize -= 1;
  	stObj.style.fontSize = nFontSize + 'px';
  }
}

function fontPlus2() {
  if ( nFontSize < 14 ) {
    initObj2();
  	nFontSize += 1;
  	stObj.style.fontSize = nFontSize + 'px';
  }
}

function fontMinus2() {
  if ( nFontSize > 10 ) {
    initObj2();
  	nFontSize -= 1;
  	stObj.style.fontSize = nFontSize + 'px';
  }
}
	
  
//function top() {
//  window.scrollTo(0, 0);
//}


//function back() {
//  history.back();
//}  

function formCheck(){
	fali = "";
	
	if (document.obrazac.ime.value == "") fali = fali + "\n- Ime";
	if (document.obrazac.adresa.value == "") fali = fali + "\n- Adresu";
	if (document.obrazac.mjesto.value == "") fali = fali + "\n- Mjesto";
	if (document.obrazac.poruka.value == "") fali = fali + "\n- Poruku";
	if (fali != "")
	   alert("Niste upisali sve potrebne podatke!" + "\n\n" + "Molimo upišite:" + fali)
	else
	 document.obrazac.submit();
}

function prozor(url,width,height)
{
 eval("window.open('" + url + "','_blank','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=" + width + ",height=" + height + "')");
}

function prozor2(url,width,height)
{
 eval("window.open('" + url + "','_blank','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,width=" + width + ",height=" + height + "')");
}


<!-- Paste this code into an external JavaScript file named: bookMark.js  -->

/* This script and many more are available free online at
The JavaScript Source :: http://javascript.internet.com
Created by: Philip Myers :: http://virtualipod.tripod.com/bookmark.html */

function bookmark(url,title){
  if ((navigator.appName == "Microsoft Internet Explorer") && (parseInt(navigator.appVersion) >= 4)) {
  window.external.AddFavorite(url,title);
  } else if (navigator.appName == "Netscape") {
    window.sidebar.addPanel(title,url,"");
  } else {
    alert("Klikni CTRL-D (Netscape) ili CTRL-T (Opera) za dodavanje u favorites");
  }
}
