


	function show_onoff (w) {
		var pr = document.getElementById (w);
		if (pr.className == "show_off") {
			pr.className = "show_on";
		}
		else {
			pr.className = "show_off";
		}
	}
	
	
	function show_di (w) {
		var pr = document.getElementById (w);
		pr.className = "show_on";
	}
	
	
	function noshow_di (w) {
		var pr = document.getElementById (w);
		pr.className = "show_off";
	}
	
	
	function change_nltr_value () {
		if (document.form_nltr.nltr_mail.value == 'adresa e-mail') {
			document.form_nltr.nltr_mail.value = '';
		}
	}
	
	function change_nltr2_value () {
		if (document.form_nltr2.nltr_mail.value == 'adresa e-mail') {
			document.form_nltr2.nltr_mail.value = '';
		}
	}
	
	function print_oferta (id) {
		window.open ("http://www.coralyturism.ro/print_oferta.php?q=" + id, "_blank", "height=500,width=700,status=no,toolbar=no,menubar=no,location=no,addressbar=no,resizable=yes,scrollbars=yes");
	}
	
	function blink (d1, d2) {
		var id1 = document.getElementById (d1);
		var id2 = document.getElementById (d2);
		
		if (id1.className == 'show_on img_dest') {
			id1.className = 'show_off img_dest';
			id2.className = 'show_on img_dest';
			window.setTimeout ("blink ('" + d1 + "', '" + d2 + "')", 2500);
		}
		else {
			id1.className = 'show_on img_dest';
			id2.className = 'show_off img_dest';
			window.setTimeout ("blink ('" + d1 + "', '" + d2 + "')", 1000);
		}
	}
	
	function blink_4 (d1, d2) {
		var id1 = document.getElementById (d1);
		var id2 = document.getElementById (d2);
		
		if (id1.className == 'show_on img_dest_4') {
			id1.className = 'show_off img_dest_4';
			id2.className = 'show_on img_dest_4';
			window.setTimeout ("blink_4 ('" + d1 + "', '" + d2 + "')", 2500);
		}
		else {
			id1.className = 'show_on img_dest_4';
			id2.className = 'show_off img_dest_4';
			window.setTimeout ("blink_4 ('" + d1 + "', '" + d2 + "')", 1000);
		}
	}
	
	
