// JavaScript Document
<!--
/***************** pentru  blocarea Click dreapta **********************/
function blockRightClick1(){
	document.oncontextmenu = function(){return false}
}
function blockRightClick(){
	blockRightClick1();
	if(document.layers) {
    	window.captureEvents(Event.MOUSEDOWN);
	    window.onmousedown = function(e){ if(e.target==document)return false;}
	}
	else document.onmousedown = function(){return false}
}

/***************** pentru HOVER optiuni de SUS ************************/
function over(obj){
	obj.style.color="#C0A062";
/*	obj.style.color="#FFCC00";*/
	obj.style.background="#333333";
	obj.style.cursor="pointer";
}
function out(obj){
	obj.style.color="#333333";
	obj.style.background="#C0A062";
}
function goToPage(name){
	document.location=name;
}

/***************** pentru HOVER optiuni de JOS ************************/
function overD(obj){
	obj.style.textDecoration="Underline";
	obj.style.color="#666666";
	obj.style.cursor="pointer";
}
function outD(obj){
	obj.style.textDecoration="None";
	obj.style.color="#333333";
}

/*************  creare titlu + citat in stanga paginii ***************/
var space="&nbsp;";

function createTitle1(sectionName){ 	// DEPRECATED
	document.writeln('					<td class="firstTD">'+space);
//	document.writeln('						<p class="sectiune">');
//	document.writeln('							<strong>'+sectionName+'</strong> <br>');
//	document.writeln('						</p>');
	document.writeln('					</td>');
}
function createTitleAndQuotation1(sectionName,flashName,language){ // DEPRECATED createBorderLeft
	document.writeln('					<td class="firstTD">'+space);
//	document.writeln('						<p class="sectiune">');
//	document.writeln('							<strong>'+sectionName+'</strong> <br>');
//	document.writeln('						</p>');
	document.writeln('					</td>');
}
function createBorderRight1(){ // DEPRECATED
	document.writeln('					<td class="lastTD">'+space);
	document.writeln('					</td>');
}

function createTitle(sectionName){
//		createTitle1(sectionName);
}
function createTitleAndQuotation(sectionName,flashName,language){
//	createTitleAndQuotation1(sectionName,flashName,language);
}
function createBorderRight(){ 
//	createBorderRight1();
}

/* Afisare citat in josul paginii */
function showQuotation(sectionName,language){
	var width=700;
	var height1=28;
	var height2=28;
	document.writeln('					<div align="center">');
	document.writeln('					<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="'+width+'" height ="'+height1+'">');
	document.writeln('						<param name=movie value="../../Resurse/Flash/Citate/'+sectionName+'.swf">');
	document.writeln('						<param name=quality value=high>');
	document.writeln('						<param name=menu value=false>');
	document.writeln('						<param name=bgcolor value="#E1C5A7">');
	document.writeln('						<embed src="../../Resurse/Flash/Citate/'+sectionName+'.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" bgcolor="#E1C5A7" menu="false" width="'+width+'" height ="'+height1+'"></embed>');
	document.writeln('					</object>');
	document.writeln('					<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="'+width+'" height ="'+height2+'">');
	document.writeln('						<param name=movie value="../../Resurse/Flash/Citate/'+sectionName+'_'+language+'.swf">');
	document.writeln('						<param name=quality value=high>');
	document.writeln('						<param name=menu value=false>');
	document.writeln('						<param name=bgcolor value="#E1C5A7">');
	document.writeln('						<embed src="../../Resurse/Flash/Citate/'+sectionName+'_'+language+'.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" menu="false" bgcolor="#E1C5A7" width="'+width+'" height ="'+height2+'"></embed>');
	document.writeln('					</object>');
	document.writeln('					</div>');
}

/* Folosita pentru schimbarea imaginii reprezentata de imaginea ARROW_UP */
function change(pictureName, pictureUrl) {
	pictureName.src = pictureUrl;
}

-->