// Image Hover js si

function srcChanger(that, sign)
{
	if(that.src.indexOf('_h.jpg') == -1 && sign == 1)
		that.src = that.src.replace(/\.jpg/g, "_h.jpg");

	else
		that.src  = that.src.replace(/\_h.jpg/g, ".jpg");
		
	if(that.src.indexOf('_h.png') == -1 && sign == 1)
		that.src = that.src.replace(/\.png/g, "_h.png");

	else
		that.src  = that.src.replace(/\_h.png/g, ".png");
}

// Cufon js si
Cufon.replace("font");
Cufon.replace("h2");
Cufon.replace("h1");
Cufon.replace("h3", {textShadow: '#393F3C 1px 1px'});

var flashvars = {};
flashvars.xml = "/cuber/config.xml";
flashvars.font = "font.swf";
var attributes = {};
attributes.wmode = "transparent";
attributes.id = "slider";
swfobject.embedSWF("/cuber/cu3er.swf", "cu3er-container", "986", "316", "9", "expressInstall.swf", flashvars, attributes);

var rflashvars = {};
var rattributes = {};
rattributes.wmode = "opaque";
rattributes.id = "referans";
swfobject.embedSWF("/flash/V-Referance.swf", "referans-container", "990", "185", "9", "expressInstall.swf", rflashvars, rattributes);

var hflashvars = {};
var hattributes = {};
hattributes.wmode = "transparent";
hattributes.id = "hizmet";
swfobject.embedSWF("/flash/hizmetlerimiz.swf", "hizmet-container", "300", "350", "9", "expressInstall.swf", hflashvars, hattributes);

