function openup(thehref,thew,theh){
	window.open(thehref,'','width='+ thew +',height='+ theh +',left=0,top=0,scrollbars=yes,location=no,resizable=yes');
}
var strTitle = document.title;
var strURL = location.href;
var strThumb = "";
var strDesc = "";
var strKeyword = "";
var strTwit = "Ihlas Koleji'nden size haber var: " + strURL;
function GetThis(T, C, U, L){
    var targetUrl = 'http://www.myspace.com/index.cfm?fuseaction=postto&' + 't=' + encodeURIComponent(T)
    + '&c=' + encodeURIComponent(C) + '&u=' + encodeURIComponent(U) + '&l=' + L;
    window.open(targetUrl);
}
function facebook(){
	window.open('http://www.facebook.com/sharer.php?s=100&p[medium]=100&p[title]='+encodeURIComponent(strTitle)+'&p[images][0]='+strThumb+'&p[url]='+strURL+'&p[summary]='+strDesc+'','sharer','toolbar=0,status=0,width=626,height=436');
}
function delicious(){
	window.open('http://del.icio.us/post?v=4&noui&jump=close&url='+strURL+'&title='+strTitle+'&notes='+strDesc+'&tags='+strKeyword, 'delicious','toolbar=no,width=700,height=400');
}
function google(){
	window.open('http://www.google.com/bookmarks/mark?op=edit&output=popup&bkmk='+strURL+'&title='+strTitle+'&labels='+strKeyword+'&annotation='+strDesc, 'googlebookmark','toolbar=no,width=700,height=500');
}
function twitter(){
	window.open('http://twitter.com/home?status='+strTwit,'sharer','toolbar=0,status=0,width=626,height=436');
}
function myspace(){
	GetThis(strTitle, strDesc, strURL, 3);
}
function digg(){
	window.open('http://digg.com/submit?phase=2&url='+document.location.href+'&title='+strTitle, 'digg','scrollbars=yes,toolbar=no,width=760,height=500');
}
function email(){
	window.open('/arkadas-gonder.asp?url='+document.location.href+'&title='+strTitle, 'email','scrollbars=yes,toolbar=no,width=500,height=350');
}

function changeFontSize(container,whatFont){
	document.getElementById(container).style.fontSize=whatFont+"px";
	x=document.getElementById("fontsize").getElementsByTagName("a");
	for (i=0;i<x.length;i++)
	{
		if(x[i].getAttribute("rel") == whatFont){
			FM.addClass(x[i], "current");
		}else{
			FM.removeClass(x[i], "current");
		}
	}
}


