window.defaultStatus="Güneş Medya Grup, gunestv.com"; 

function MM_open(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}

function opengazete() {
	w = screen.width;
	h = screen.height;
	LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
	TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
	settings = 'height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars=yes,resizable=no,toolbar=no,location=no,status=no';
	window.open('gercek.asp','',settings);
}

function anaSayfamYap() {
if (document.all) {
document.body.style.behavior='url(#default#homepage)';
document.body.setHomePage('http://www.gunestv.com');
} else if (window.sidebar) {
if(window.netscape) {
try {
netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");
} catch(e) {
alert("Bu özellik tarayıcınız tarafından desteklenmiyor.\nLütfen ayarları elle yapmayı deneyin.");
}
}
var prefs = Components.classes['@mozilla.org/preferences-service;1'].getService(Components.interfaces.nsIPrefBranch);
prefs.setCharPref('browser.startup.homepage','http://www.gunestv.com');
}
}

function bookmarksite() {
title = "Güneş Medya Grup - Güneş Tv - Radyo Malatya - Gerçek Gazetesi ";
url = "http://www.gunestv.com";
if (window.sidebar) {
window.sidebar.addPanel(title, url,"");
} else if( window.external ) {
window.external.AddFavorite( url, title);
}
else if(window.opera && window.print) {
return true; }
}

function arahaber(){
		if (document.aramax.arama.value=="") {
		alert("Aranacak Haber Konusunu Yazınız !");
		document.aramax.arama.focus();
		return false;
	}
}

