/*
  __________________________________________________
  | This document contains some of js control set.   |
 | You can reuse or redistrube this document        |
 | under the GNU/GPL license agreement.             |
 | For information about GNU/GPL license            |
 | visit www.gnu.org.                               |
 |__________________________________________________|
 
*/

_uacct = "UA-1084162-1";
urchinTracker();

function chUrl(newUrl) { //Changing url;
	window.top.location.href = newUrl;
}

function setStatus(str) { // Changing Browser status bar text.
	window.status = str;
	return true;
}

function openWin(type, url, name) { //Open popup.
	switch (type) {
		case (0) : { //Default Popup
			window.open(url, name,'toolbar=1, menubar=1, status=1, adresbar=1, width=640, height=480, left=0, top=0, scrollbars=1, resizable=yes');
		break;}
		case (1) : { //Some Informational New Window Big with tool and menu bars, resizable
			window.open(url, name,'toolbar=1, menubar=1, status=0, adresbar=0, width=800, height=600, left=0, top=0, scrollbars=1, resizable=yes');
		break;}
		case (2) : { //Some Informational New Window Big only menu bar resizable
			window.open(url, name,'toolbar=0, menubar=1, status=0, adresbar=0, width=800, height=600, left=0, top=0, scrollbars=1, resizable=yes');
		break;}
		case (3) : {//Print Window Big unresizable
			window.open(url, name,'toolbar=0, menubar=0, status=0, adresbar=0, width=800, height=600, left=0, top=0, scrollbars=1, resizable=no');
		break;}
		case (4) : { //Print Window Big resizable
			window.open(url, name,'toolbar=0, menubar=0, status=0, adresbar=0, width=800, height=600, left=0, top=0, scrollbars=1, resizable=yes');
		break;}
		default : { //Default Popup Window With everything true;
			window.open(url, name,'toolbar=1, menubar=1, status=1, adresbar=1, width=640, height=480, left=0, top=0, scrollbars=1, resizable=yes');
		break;}
	}
}