[\\s\\S]*?',
'gi');
function removeTags(html) {
var oldHtml;
do {
oldHtml = html;
html = html.replace(tagOrComment, '');
} while (html !== oldHtml);
return html.replace(/');
$("#is_dark").trigger('click');
$("a.logo img").attr('src', '/assets/images/logo_dark.png');
}
createCookie2("color_skin", skinim, 365);
/*
if(!jQuery('body').hasClass('boxed')) {
jQuery('body').addClass('boxed');
jQuery("#is_boxed").trigger('click');
cerez_yaz("is_boxed", 'true', 365);
}
*/
/*facebook eklentisi manuel responsive*/
if($('#fb_container').length > 0) {
$(window).bind("load resize", function(){
setTimeout(function() {
var container_width = $('#fb_container').width();
$('#fb_container').html('');
FB.XFBML.parse( );
}, 100);
});
}
//checkForChanges()
});//ready
//var $element = $("#bicerix");
//var lastHeight = $("#bicerix").css('height');
function checkForChanges(){
if(window.top !== window.self) {
if (/android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini/i.test(navigator.userAgent.toLowerCase()) == true){
//console.log("mobil")
var sc = document.location.href;//document.contentWindow.location.href;
//console.log(sc)
window.top.location.href=sc;
}
}
/*
if ($element.css('height') != lastHeight){
resize();
lastHeight = $element.css('height');
}
setTimeout(checkForChanges, 500);
*/
}
function createCookie2(name,value,days) {
if (days) {
var date = new Date();
date.setTime(date.getTime()+(days*24*60*60*1000));
var expires = "; expires="+date.toGMTString();
} else {
expires = "";
} document.cookie = name+"="+value+expires+"; path=/";
}
function readCookie2(name) {
var nameEQ = name + "=";
var ca = document.cookie.split(';');
for(var i=0;i < ca.length;i++) {
var c = ca[i];
while (c.charAt(0)==' ') {
c = c.substring(1,c.length);
}
if (c.indexOf(nameEQ) == 0) {
return c.substring(nameEQ.length,c.length);
}
}
return null;
}