
	function pop(link) {
		window.open(link, '_blank', 'height=' + (screen.height-20) + ',width=' + (screen.width-10) + ',top=0,left=0');
		return false;
	}

	function pop2(link) {
		window.open(link, '_blank', 'height=' + (screen.height-20) + ',width=' + (screen.width-10) + ',scrollbars=yes,top=0,left=0');
		return false;
	}

	anchors = document.getElementsByTagName('a');
	for (var i=0; i<anchors.length; i++) {
		if (anchors[i].href.indexOf('PUArtistPage') > -1) {
			anchors[i].onclick = function () {
				return pop2(this.href)
			}
			anchors[i].title += ' (יפתח בחלון חדש)';
		} else if ((anchors[i].href.indexOf('http') > -1) && (anchors[i].href.indexOf('maarav') < 0)) {
			anchors[i].target = '_blank';
		}
	}

	//Specify affected tags. Add or remove from list:
	var tgs = new Array();

	//Specify spectrum of different font sizes:
	var szs = new Array('100%','120%');
	var startSz = 0;

	// Text sizer based on code by Taewook Kang (txkang.REMOVETHIS@hotmail.com)
	function textSizer(trgt, inc) {
		if (!document.getElementById) return
		var d = document,cEl = null,sz = startSz,i,j,cTags;
		
		sz += inc;
		if ( sz < 0 ) sz = 0;
		if ( sz > 1 ) sz = 1;
		startSz = sz;
			
		if ( !( cEl = d.getElementById( trgt ) ) ) cEl = d.getElementsByTagName( trgt )[ 0 ];
	
		cEl.style.fontSize = szs[ sz ];

		if (inc > 0) {
			document.getElementById('sizerSmall').style.backgroundColor = '#EDE6D5';
			document.getElementById('sizerBig').style.backgroundColor = '#FEFADD';
		} else {
			document.getElementById('sizerSmall').style.backgroundColor = '#FEFADD';
			document.getElementById('sizerBig').style.backgroundColor = '#EDE6D5';
		}
	
		for ( i = 0 ; i < tgs.length ; i++ ) {
			cTags = cEl.getElementsByTagName( tgs[ i ] );
			for ( j = 0 ; j < cTags.length ; j++ ) cTags[ j ].style.fontSize = szs[ sz ];
		}
	}

	function rollover(id) {
		document.getElementById(id).style.backgroundColor = '#FEFADD';
	}

	function rollout(id) {
		if (((id == 'sizerSmall') && (startSz == 1)) || ((id == 'sizerBig') && (startSz == 0))) {
			document.getElementById(id).style.backgroundColor = '#EDE6D5';
		}
	}

	document.getElementById('sizerSmall').style.backgroundColor = '#FEFADD';
