// JavaScript Document

<!--
/*******************************************************************************
	OLDIE - or Old IE. A script that finds the version of IE you're using,
	and redirects if lower than the set parameter.
	[[ Created by Ryan McLaughlin, www.DaoByDesign.com ]]
*******************************************************************************/
var browser		= navigator.appName
var ver			= navigator.appVersion
var thestart	= parseFloat(ver.indexOf("MSIE"))+1 //This finds the start of the MS version string.
var brow_ver	= parseFloat(ver.substring(thestart+4,thestart+7)) //This cuts out the bit of string we need.

if ((browser=="Microsoft Internet Explorer") && (brow_ver < 7)) //By default the min. IE ver is set to 6. Change as desired.
	{
	//alert("Microsoft Internet Explorer 7 sürümünden daha düşük bir versiyon kullanıyorsunuz!\nSitemizi özgün şekli ile görüntülemek için minimum Microsoft Internet Explorer 7 tarayıcısına sahip olmanız gerekmektedir.\nBu uyarıyı onayladıktan sonra yükleme sayfasına yönlendirileceksiniz!");
	//window.location="ie6/index.html"; //URL to redirect to.
	//window.location="http://www.vuu.com.au/upgrade/"; //URL to redirect to.

	var protocol = (("https:" == document.location.protocol) ? "https://" : "http://");
	var path = (("test.sirius.com.tr" == window.location.hostname) ? "/degademir" : "");
	window.location= protocol + escape(window.location.hostname) + path + "/ie6/"; //URL to redirect to.
	}
//-->
