/* Javascript tools */

function UseStyleSheet(title) {
  var i, a, main;
  /* loop links find title  */
  for(i=0; (a = document.getElementsByTagName("link")[i]); i++) {
    if(a.getAttribute("rel").indexOf("style") != -1  &&  a.getAttribute("title")) {
      a.disabled = true;
	  
	  /* set new  Alarm("set"+title);*/
	  if(a.getAttribute("title") == title) {
		  a.disabled = false;
	  }
    }
  }
}

/*
function Confirm(title) {
  left = screen.width/2- 100;
  top = screen.height/2- 100;
  nwin = window.open('', '1', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=200,height=100,left=100,top=100);
}
*/
function Alarm(title) {
 alert (title);
}
