
var ref_loc = 'http://www.prnewswire.co.il/releases/release';

function headings(number) {
	if (isNaN(parseInt(hln[number]))) {
		heading = hlh[number].link('/news.shtml?' + hln[number]);
	} else {
		heading = hlh[number].link((ref_loc + hln[number] + '.html'));
	}
	datem = hld[number];
	document.write('<div class="date">');
	document.write(datem);
	document.write('</div><div class="heading" dir="ltr" align="right">');
	document.write(heading);
	document.write('</div>');
}

function subheadings(number) {
	document.write('<div class="subheading" dir="ltr" align="right">');
	document.write(hls[number]);
	document.write('</div>');
}

function space() {
	document.write('<div class="space">');
	document.write('&nbsp;');
	document.write('</div>');
}
		
function displayreleases(startat,endat) {
	if ( (endat == null) || (endat == 0)) { endat = hlh.length; }
	for ( n=startat; n<endat; n++ ) { headings(n); subheadings(n); space(); }
}

function displayheadlines(startat,endat) {
	if ( (endat == null) || (endat == 0)) { endat = hlh.length; }
	for ( n=startat; n<endat; n++ ) { headings(n); space(); }
}



