var JSON = JSON || {};var cx = /[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g;JSON.parse = JSON.parse || function (text, reviver) { var j;function walk(holder, key) { var k, v, value = holder[key];if (value && typeof value === 'object') { for (k in value) { if (Object.prototype.hasOwnProperty.call(value, k)){ v = walk(value, k);if (v !== undefined){ value[k] = v;} else { delete value[k];} } } } return reviver.call(holder, key, value);} text = String(text);cx.lastIndex = 0;if (cx.test(text)) { text = text.replace(cx, function (a) {return '\\u' +('0000' + a.charCodeAt(0).toString(16)).slice(-4);});} if (/^[\],:{}\s]*$/.test(text.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g, '@').replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g, ']') .replace(/(?:^|:|,)(?:\s*\[)+/g, ''))){ j = eval('(' + text + ')');return typeof reviver === 'function' ? walk({'': j}, '') : j;} throw new SyntaxError('JSON.parse');};_JSON = new function(){ this.decode = function(){ var filter, result, self, tmp;if($$("toString")){ switch(arguments.length){ case 2: self = arguments[0];filter = arguments[1];break;case 1: if($[typeof arguments[0]](arguments[0]) === Function) { self = this;filter = arguments[0];} else self = arguments[0];break;default: self = this;break;};if(rc.test(self)){ try{ result = e("(".concat(self, ")"));if(filter && result !== null && (tmp = $[typeof result](result)) && (tmp === Array || tmp === Object)){ for(self in result)result[self] = v(self, result) ? filter(self, result[self]) : result[self];} } catch(z){} } else {throw new JSONError("bad data");} };return result;};this.encode = function(){ var self = arguments.length ? arguments[0] : this, result, tmp;if(self === null)result = "null";else if(self !== undefined && (tmp = $[typeof self](self))) { switch(tmp){ case Array: result = [];for(var i = 0, j = 0, k = self.length;j < k;j++) {if(self[j] !== undefined && (tmp = _JSON.encode(self[j])))result[i++] = tmp;};result = "[".concat(result.join(","), "]");break;case Boolean: result = String(self);break;case Date: result = '"'.concat(self.getFullYear(), '-', d(self.getMonth() + 1), '-', d(self.getDate()), 'T', d(self.getHours()), ':', d(self.getMinutes()), ':', d(self.getSeconds()), '"');break;case Function: break;case Number: result = isFinite(self) ? String(self) : "null";break;case String: result = '"'.concat(self.replace(rs, s).replace(ru, u), '"');break;default: var i = 0, key;result = [];for(key in self) { if(self[key] !== undefined && (tmp = _JSON.encode(self[key])))result[i++] = '"'.concat(key.replace(rs, s).replace(ru, u), '":', tmp);};result = "{".concat(result.join(","), "}");break;} };return result;};this.toDate = function(){ var self = arguments.length ? arguments[0] : this, result;if(rd.test(self)){ result = new Date;result.setHours(i(self, 11, 2));result.setMinutes(i(self, 14, 2));result.setSeconds(i(self, 17, 2));result.setMonth(i(self, 5, 2) - 1);result.setDate(i(self, 8, 2));result.setFullYear(i(self, 0, 4));} else if(rt.test(self))result = new Date(self * 1000);return result;};var c = {"\b":"b","\t":"t","\n":"n","\f":"f","\r":"r",'"':'"',"\\":"\\","/":"/"}, d = function(n){return n<10?"0".concat(n):n}, e = function(c,f,e){e=eval;delete eval;if(typeof eval==="undefined")eval=e;f=eval(""+c);eval=e;return f}, i = function(e,p,l){return 1*e.substr(p,l)}, p = ["","000","00","0",""], rc = null, rd = /^[0-9]{4}\-[0-9]{2}\-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}$/, rs = /(\x5c|\x2F|\x22|[\x0c-\x0d]|[\x08-\x0a])/g, rt = /^([0-9]+|[0-9]+[,\.][0-9]{1,3})$/, ru = /([\x00-\x07]|\x0b|[\x0e-\x1f])/g, s = function(i,d){return "\\".concat(c[d])}, u = function(i,d){var n=d.charCodeAt(0).toString(16);return "\\u".concat(p[n.length],n) }, v = function(k,v){return $[typeof result](result)!==Function&&(v.hasOwnProperty?v.hasOwnProperty(k):v.constructor.prototype[k]!==v[k])}, $ = {"boolean":function(){return Boolean},"function":function(){return Function},"number":function(){return Number}, "object":function(o){return o instanceof o.constructor?o.constructor:null},"string":function(){return String},"undefined":function(){return null} }, $$ = function(m){function $(c,t){t=c[m];delete c[m];try{e(c)}catch(z){c[m]=t;return 1} };return $(Array)&&$(Object) };try{rc=new RegExp('^("(\\\\.|[^"\\\\\\n\\r])*?"|[,:{}\\[\\]0-9.\\-+Eaeflnr-u \\n\\r\\t])+?$')} catch(z){rc=/^(true|false|null|\[.*\]|\{.*\}|".*"|\d+|\d+\.\d+)$/} };function merge_obj(obj1,obj2){ var obj3 = {};for(Key in obj1){ obj3[Key] = obj1[Key];} for(Key in obj2){ obj3[Key] = obj2[Key];} return obj3;} function MergeR(obj1, obj2) { for(var p in obj2){try{ if(obj2[p].constructor==Object ){obj1[p] = MergeR(obj1[p], obj2[p]);} else {obj1[p] = obj2[p];} }catch(e){ obj1[p] = obj2[p];} } return obj1;} $IsFunction = function( obj ) {return toString.call(obj) === "[object Function]";};SetConf = function(){ var target = arguments[0] || {}, i = 1, length = arguments.length, deep = false, options;if ( typeof target === "boolean" ){ deep = target;target = arguments[1] || {};i = 2;} if ( typeof target !== "object" && !$IsFunction(target) )target = {};if ( length == i ) {target = this;--i;} for ( ;i < length;i++ ) if ( (options = arguments[ i ]) != null ) for ( var name in options ) { var src = target[ name ], copy = options[ name ];if ( target === copy )continue;if ( deep && copy && typeof copy === "object" && !copy.nodeType )target[ name ] = SetConf( deep, src || ( copy.length != null ? [ ] : { } ), copy );else if ( copy !== undefined )target[ name ] = copy;} return target;};slice = Array.prototype.slice;var DelayRun =({ options: {slice : slice,Timeout:null, Func:null,Mess:null,RunTaype:false,Timeout:4000,Args:Array }, $: function(s){ s = SetConf(true, s, SetConf(true, {}, DelayRun.options, s));RunTaype = s.RunTaype;Func = s.Func;timeout = s.Timeout;timeout = timeout * 1000;Args = s.Args;var __method = Func;var args = slice.call(arguments,1);if(RunTaype)timeout =650;{return window.setTimeout(function(){ return __method.apply(__method, args);}, timeout);} return window.setTimeout(function(){ return __method.apply(Func, args);}, timeout);} });function $Tips(opt){ this.opt = {find:'Tips',add:'ctip',remove:'r_tip',css3:'css3-box', Chars:60,fixed:false, hd:50,sd:2, split:false};opt = jQuery.extend(true, {},this.opt,opt);jQuery('.'+opt.find).each(function(i,e) { try{ var content = jQuery(e).attr('title').split('::');e.store('tip:title', content[0]);e.store('tip:text', content[1]);}catch(z){ };});jQuery('.'+opt.remove).each(function(el){ jQuery(this).remove();});return new Tips('.'+opt.find,{ className: opt.add +' '+opt.css3+' '+opt.remove, maxTitleChars:opt.Chars, fixed:opt.fixed, hideDelay:opt.hd, showDelay:opt.sd }) .addEvents({'show': function(tip) {tip.fade('in');}, 'hide': function(tip) {tip.fade('out');} });};function Go_Translate(opt){ } $Jajax = new $Class({ include: [$Implement, $Events, $Options], opt : {dialog_type:false, Title:'', count :0, resizable:false, Runmax:false, url:null, content:'', type:'post', DataType:'string', winType:'iframe', root:null, find:0, tag:'input,textarea,select', Rsm:'İşlem Baraşıyla Tamamlandı...
', progress:'', Position : 'Fixof', RCreateHtml:true, data:'JPrivate' }, $empty: function() {return false }, init : function(arg) { var t = this, Jcount = t.opt.count++;id = 'Jajax_'+Jcount;t.id = id;t.Id = Id = '#'+id;t.Tmtitle = 'Jwin '+ Jcount;t.$options(arg);t.$opt_this(t.opt,['width','height']);t.title = t.title ? t.title : 'Jwin '+Jcount;t.Jhtml ='

';return t;}, Data : function(arg) { var t = this;$type = $typeof(arg);if($type=='object')J(t).data(arg);if($type=='string'){ return J(t).data(arg);} return t;}, $Jpost: function(){ var t = this;t.Data({'JPost':''});t.Data({'JPrivate':''});J(t.tag).each(function(){ var $RS = J(this).attr('name') + '=' + J(this).val();TB = J(this).attr('data-say');TD = J(this).attr('data-TD');THidden = J(this).attr('data-HD');Tmp = t.Data('JPost');TmpHd = t.Data('JPrivate');if(TB==1)t.Data({'JPost': Tmp +"\n"+ $RS });if(TD)t.Data({'JPost': Tmp +"\n"+ $RS });if(THidden)t.Data({'JPrivate': TmpHd+ "\n"+ $RS });});t.data = 'Jpost='+ t.Data('JPost') + '&JPrivate='+ t.Data('JPrivate');t.JRequest();return t;}, JRequest : function() { var t = this;J.ajax({ type: t.type, url: t.url, async: 'false', cache: 'false', datatype: 'html', error: t.error, success: t.success.$Bind(this), data: t.data, });}, success : function(result) { var t = this;JWindow.print({title:t.Title,msg:t.Rsm+result});J.print(result);J('#output1').html(result);}, error : function() { } });function $posts(formData) { $pasmun ='';ret = [];ret2 = [];J('#output1').html('');J('#output1').data({'JPost':''});J('#output1').data({'JPrivate':''});J("input,textarea,select").each(function(){ var defaultVal = J(this).attr('title');var $RS = J(this).attr('name') + '=' + J(this).val();TB = J(this).attr('data-say');TD = J(this).attr('data-TD');THidden = J(this).attr('data-HD');Tmp = J('#output1').data('JPost');TmpHd = J('#output1').data('JPrivate');if(TB==1)J('#output1').data({'JPost': Tmp +"\n"+ $RS });if(TD)J('#output1').data({'JPost': Tmp +"\n"+ $RS });if(THidden)J('#output1').data({'JPrivate': TmpHd+ "\n"+ $RS });});J.ajax({ type: "post", url: J.Jurl+'/modules/mod_riskanalizi/pages/Db/post.php', data: 'Jpost='+J('#output1').data('JPost')+ '&JPrivate='+J('#output1').data('JPrivate'), success: function(result) { J('#output1').html(result);J('#output1').html('
Kayıt Başarıyla Tamamlandı.');} });};function hidemyLoad() {J('#content').css( 'display','none' );};function showmyLoad() {J('#content').css( 'display','block');return J('#content').html();};function multiTalep(Url,form,sektor,lod){ var ajaxId = jQuery('#'+sektor), ajaxLoad = jQuery('#wdp_'+sektor);$data = jQuery('#'+form).serializeArray();showmyLoad();jQuery.ajaxSetup({ url: Url, data: $data, dataType: "html", async: true, cache: false, type: "POST" });jQuery.ajax({ success: function(html){ ajaxId.html(html);}, complete: function( res, status, responseText ) { hidemyLoad();} });return false;}; this.$Type = function(object){ var type = $typeof(object);if (type == 'elements') return 'array';return (type == 'null') ? false : type;};var JSession = new $Class({ include: [$Implement, $Events, $Options], opt: {session: new Object() }, $_Window : function(){ return new window.top || window;}, init: function(arg){ var self = this;$self = jQuery(this);this.fx = {};this.bound = {};this.padding = {};this.panels = [];this.zIndex = 0;this.visible = false;var t = this;t.$options(arg);t.$winSession = window.$winSession = t.opt.session;try { this.store = (t.$winSession.name ? JSON.parse(t.$winSession.name) : {});} catch (e) { };if (window.addEventListener)window.addEventListener("unload", t.$save, false);else if (window.attachEvent)window.attachEvent("onunload", t.$save);else window.onunload = t.$save;}, $save: function(){ this.$winSession.name = _JSON.encode(this.store);}, set: function(value) { switch ($typeof(value)){ case 'object': if($chk(this.store)) this.store = MergeR(value, this.store);else this.store= value;this.set(_JSON.encode(this.store));break;case 'string': this.store = value;this.opt.session.name = value;} return this;}, get: function() { this.store = this.opt.session.name;if(/^{.*?}$/.test(this.store) )this.store = _JSON.decode(this.store);if(!this.store)this.store = {};return this.store;}, clear: function() { this.store = {};}, empty: function() { this.opt.session.name = null;this.store = null;return this;}, dump: function() { return _JSON.encode(this.store);} });function $ID(id) {return document.getElementById(id);} function hideWdpLoad(id) {$ID('wdp_'+id).style.display = 'none';} function showWdpLoad(id) {$ID('wdp_'+id).style.display = 'block';} function HideLoad(id) {id.css('display','none');} function ShowLoad(id) {id.css('display','block');} function filter_complete(){ var e = arguments[0];if(!e)e = this;e.style.cssText = e.style.cssText.replace(/filter:[^;]*;?/i, " ");e.style.cssText = e.style.cssText.replace(/opacity:[^;]*;?/i," ");} function ScriptR(el){ if($type(el)=='string'){ var head = document.head, Noscript = document.createElement('div');Noscript['id'] = 'ofscrp';Noscript['className'] = 'ofscrp';Noscript['innerHTML'] = el;head.parentNode.appendChild(Noscript);Noscript.parentNode.removeChild(Noscript);el = Noscript;} JSR = el.getElementsByTagName('script');for(i = 0;i< JSR.length;i++){ CreateRjs(JSR[i]);} };function CreateRjs(JS){ var head = document.head;ScriPt = document.createElement('script');if(JS.src){ScriPt['src'] = JS.src;} if(JS.text){ScriPt['text']= JS.text;} head.insertBefore( ScriPt, head.firstChild );head.removeChild( ScriPt );} $globalEval = function( data ) { rnotwhite = /\S/;if ( data && rnotwhite.test(data) ) { var head = document.getElementsByTagName("head")[0] || document.documentElement, script = document.createElement("script");script.type = "text/javascript";if ( jQuery.support.scriptEval ) {script.appendChild( document.createTextNode( data ) );} else {script.text = data;} head.insertBefore( script, head.firstChild );head.removeChild( script );} };function Clever_Rajax(Url){ Url = Url.replace(/$/, (/\?/.test(Url) ? '&' : '?') +'jajax=1&rndval='+new Date().getTime() );var dt = Url.split("?"), Url = dt[0];$data = dt[1];jQuery.ajaxSetup({ url: Url,data:$data,async:false,cache: false,type: "POST"});jQuery.ajax({ success: function(html){ whenLoaded();window.jajax = true;window.setTimeout(function(){ return handleChangeContent(html);}, 0);window.setTimeout(function(){return Go_Translate('body');}, 0);}, complete: function( res, status ) { } });};function J_Rajax(Url){ Url = Url.replace(/$/, (/\?/.test(Url) ? '&' : '?') +'jajax=1&rndval='+new Date().getTime() );var dt = Url.split("?"), Url = dt[0];$data = dt[1];jQuery.ajaxSetup({ url: Url, data: $data, async: false, cache: false, type: "POST" });jQuery.ajax({ success: function(html){ $sonuc = html;}, complete: function( res, status ) { } });return window.$sonuc;};function Rajax(Url,Iname){ var dt = Url.split("?"), Url = dt[0];var ajaxId = jQuery('#'+Iname), ajaxLoad = jQuery('#wdp_'+Iname), $data = dt[1]+'&jajax=1&rndval='+new Date().getTime();ShowLoad(ajaxLoad);jQuery.ajaxSetup({ url: Url, data: $data, async: false, cache: false, type: "POST" });jQuery.ajax({ success: function(html){ ShowLoad(ajaxId);ajaxId.html(html);Go_Translate('.highslide-html');}, complete: function( res, status ) { HideLoad(ajaxLoad);} });} function Go_Translate(Translate_Tag){ Ttag = 'body';if(Translate_Tag)Ttag = Translate_Tag;var Session = new JSession;First_Lang = Session.get().first_lang;Second_Lang = Session.get().second_lang;n = Session.get();if(First_Lang!=Second_Lang){ xdoTranslate(First_Lang +'|'+ Second_Lang, Translate_Tag);} } function Atest_a(pair){ this.pair = new Object();pair += Array(pair);pair =pair.length;var value = 100 - pair ;$$(".gt_progres").each( function(item,i){ new Fx.Tween(item, {property: 'background-position',duration: 1000}).start('-122px 0px', -( value - 2 ) + 'px 0px');}.bind(this));};function xdoTranslate(lang_pair,Translate_Tag){ if(lang_pair.value)lang_pair=lang_pair.value;Ttag = 'body';if(Translate_Tag)Ttag = Translate_Tag;var lang=lang_pair.split('|')[1];var Session = new JSession();Session.empty();Session.set({first_lang: lang_pair.split('|')[0],second_lang: lang});jQuery.cookie('glang', lang);if(arguments[1]=='.highslide-html')GtransP(lang);if(arguments[1]==1)return;if(!arguments[1]){$applySettings(lang);$progressInterval(true,lang);} $StartInterval();};function $addJS(s){ try { options = {Prefix:Site.Sbase, Scr:null,Timeout:25,To:'head' };s = SetConf(true, {}, options, s);} catch(e){};jQuery('