﻿/*<![CDATA[*/

	// ©2009 a.neko®
	// All Rights Reserved
	// http://a-neko.eu
	
	// Adobe® Flash® Plaftorm Detection Algorithm
	// Adapted for Demirden® Design by a.neko® (http://a-neko.eu)
	// a.neko® Development 2.0.10 (2009/02/10)

	var required=100000;
	var detected=null;
	if ((navigator.plugins!=null)
	&&(navigator.plugins.length>0)
	&&(navigator.plugins['Shockwave Flash'])){
		detected=navigator.plugins['Shockwave Flash'].description;
		detected=detected.replace('Shockwave Flash','').replace('  r','.').replace(' r','.').concat('.0');
	} else if((navigator.appVersion.indexOf('MSIE')!=-1)
	&&(navigator.appVersion.toLowerCase().indexOf('win')!=-1)
	&&!(navigator.userAgent.indexOf('Opera') != -1)) {
		try{ax=new ActiveXObject('ShockwaveFlash.ShockwaveFlash.10');
			detected=ax.getVariable(String('$').concat('version'));
			detected=detected.replace('WIN','').replace(',','.').replace(',','.').replace(',','.');
		} catch(error){window.location='http://demirden.com/install.htm';}}
	if (detected) {
		detected=detected.split('.');detected.length=3;
		if (detected[2]<10) { detected[2]='00'+detected[2] };
		if (detected[2]<100) { detected[2]='0'+detected[2] };
		detected=Number(detected.join(''));
	}
	if (Number(required)>Number(detected)) {window.location='http://demirden.com/install.htm';} 
	else {;};
	
	// ©2009 a.neko®
	// All Rights Reserved
	// http://a-neko.eu
	
/*]]>*/