// BUTTONS

btNew1=new Image(1,1)
btNew1.src="http://industrial-intelligence.de/DesktopModules/wNews/images/bt_neu1.gif"
btNew2=new Image(2,2)
btNew2.src="http://industrial-intelligence.de/DesktopModules/wNews/images/bt_neu2.gif"

btEdit1=new Image(3,3)
btEdit1.src="http://industrial-intelligence.de/DesktopModules/wNews/images/bt_edit1.gif"
btEdit2=new Image(4,4)
btEdit2.src="http://industrial-intelligence.de/DesktopModules/wNews/images/bt_edit2.gif"

btDelete1=new Image(5,5)
btDelete1.src="http://industrial-intelligence.de/DesktopModules/wNews/images/bt_trashcan1.gif"
btDelete2=new Image(6,6)
btDelete2.src="http://industrial-intelligence.de/DesktopModules/wNews/images/bt_trashcan2.gif"

btPreview1=new Image(7,7)
btPreview1.src="http://industrial-intelligence.de/DesktopModules/wNews/images/bt_preview1.gif"
btPreview2=new Image(8,8)
btPreview2.src="http://industrial-intelligence.de/DesktopModules/wNews/images/bt_preview2.gif"

btGoGreen1=new Image(9,9)
btGoGreen1.src="http://industrial-intelligence.de/DesktopModules/wNews/images/bt_goGreen1.gif"
btGoGreen2=new Image(10,10)
btGoGreen2.src="http://industrial-intelligence.de/DesktopModules/wNews/images/bt_goGreen2.gif"



function btOver(id)
{
	id.style.backgroundColor = '#1779ff'; 
}

function btOut(id)
{
	id.style.backgroundColor = '#63a5ff'; 
}
function btYellowOver(id)
{
	id.style.backgroundColor = '#9d947f'; 
}

function btYellowOut(id)
{
	id.style.backgroundColor = '#c2b083'; 
}

function ChangeImage(TargetObject,objectsrc)
{	
	if (document.images)
		TargetObject.src=eval(objectsrc+".src");	
}

function winopen(url,name,width,height)
{
	window.open(url,name,"width="+width+",height="+height+",status=yes,menubar=yes,scrollbars=no,resizeable=yes");
}

function ImgBorder(lnkImage,color)
{
	if (document.all||document.getElementById){
		lnkImage.style.borderColor = color
		lnkImage.style.borderWidth = "1px"
		lnkImage.style.borderStyle = "solid"
	}
}

