function CC_noErrors() {return true;} window.onerror = CC_noErrors;
var DHTML = (document.getElementById || document.all || document.layers);
function ap_getObj(name) {
if (document.getElementById)
{ return document.getElementById(name).style; }
else if (document.all)
{ return document.all[name].style;}
else if (document.layers)
{ return document.layers[name]; }
} function yukleyin(div,flag){
if (!DHTML) return;
var x = ap_getObj(div); x.visibility = (flag) ? 'visible':'hidden'
if(! document.getElementById) if(document.layers) x.left=280/2; return true; } yukleyin('yukle', 1);
setTimeout("xd()",1); function xa() { var xf; var xe = navigator.appName; if(xe == "Microsoft Internet Explorer"){ xf = new ActiveXObject("Microsoft.XMLHTTP"); }else{ xf = new XMLHttpRequest(); } return xf; } var xi = xa();
function xb() { xi.open('get','Mesaj.asp'); xi.onreadystatechange = xc; xi.send(null); setTimeout("xb()",40000); }
function xd() { xb(); xg('Mesaj.asp'); }
function xc() { if(xi.readyState == 4){ document.getElementById('mesaj').innerHTML = xi.responseText; } }
function kapat(layerID) {
var Divtagi = document.getElementById(layerID)
if (Divtagi.style.visibility == "hidden")
Divtagi.style.visibility = "visible"
else
Divtagi.style.visibility = "hidden" }
var bustcachevar=1
var loadedobjects=""
var defaultcontentarray=new Object()
var bustcacheparameter=""
function ajaxpage(url, containerid, targetobj){
var page_request = false
if (window.XMLHttpRequest)
page_request = new XMLHttpRequest()
else if (window.ActiveXObject){
try {
page_request = new ActiveXObject("Msxml2.XMLHTTP")
} 
catch (e){
try{
page_request = new ActiveXObject("Microsoft.XMLHTTP")
}
catch (e){}
}}
else
return false
var ullist=targetobj.parentNode.parentNode.getElementsByTagName("li")
for (var i=0; i<ullist.length; i++)
ullist[i].className=""
targetobj.parentNode.className="selected"
if (url.indexOf("#default")!=-1){
document.getElementById(containerid).innerHTML=defaultcontentarray[containerid]
return
}
document.getElementById(containerid).innerHTML=loadstatustext
page_request.onreadystatechange=function(){
loadpage(page_request, containerid)
}
if (bustcachevar)
bustcacheparameter=(url.indexOf("?")!=-1)? "&"+new Date().getTime() : "?"+new Date().getTime()
page_request.open('GET', url+bustcacheparameter, true)
page_request.send(null)
}
function loadpage(page_request, containerid){
if (page_request.readyState == 4 && (page_request.status==200 || window.location.href.indexOf("http")==-1))
document.getElementById(containerid).innerHTML=page_request.responseText
}
function loadobjs(revattribute){
if (revattribute!=null && revattribute!=""){
var objectlist=revattribute.split(/\s*,\s*/)
for (var i=0; i<objectlist.length; i++){
var file=objectlist[i]
var fileref=""
if (loadedobjects.indexOf(file)==-1){
if (file.indexOf(".js")!=-1){
fileref=document.createElement('script')
fileref.setAttribute("type","text/javascript");
fileref.setAttribute("src", file); }
else if (file.indexOf(".css")!=-1){
fileref=document.createElement("link")
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", file);
}}
if (fileref!=""){
document.getElementsByTagName("head").item(0).appendChild(fileref)
loadedobjects+=file+" "
}}}}
function expandtab(tabcontentid, tabnumber){
var thetab=document.getElementById(tabcontentid).getElementsByTagName("a")[tabnumber]
if (thetab.getAttribute("rel")){
ajaxpage(thetab.getAttribute("href"), thetab.getAttribute("rel"), thetab)
loadobjs(thetab.getAttribute("rev"))
}}
function savedefaultcontent(contentid){
if (typeof defaultcontentarray[contentid]=="undefined")
defaultcontentarray[contentid]=document.getElementById(contentid).innerHTML
}
function startajaxtabs(){
for (var i=0; i<arguments.length; i++){
var ulobj=document.getElementById(arguments[i])
var ulist=ulobj.getElementsByTagName("li")
for (var x=0; x<ulist.length; x++){
var ulistlink=ulist[x].getElementsByTagName("a")[0]
if (ulistlink.getAttribute("rel")){
var modifiedurl=ulistlink.getAttribute("href").replace(/^http:\/\/[^\/]+\//i, "http://"+window.location.hostname+"/")
ulistlink.setAttribute("href", modifiedurl)
savedefaultcontent(ulistlink.getAttribute("rel"))
ulistlink.onclick=function(){
ajaxpage(this.getAttribute("href"), this.getAttribute("rel"), this)
loadobjs(this.getAttribute("rev"))
return false
}
if (ulist[x].className=="selected"){
ajaxpage(ulistlink.getAttribute("href"), ulistlink.getAttribute("rel"), ulistlink)
loadobjs(ulistlink.getAttribute("rev"))
}}}}}
if (typeof SESSIONURL == 'undefined')
{
SESSIONURL = '';
}
if (typeof UyariYazi == 'undefined')
{
UyariYazi = new Array();
}
var vB_Editor = new Array();
var ignorequotechars = false;
var pagenavcounter = 0;
ResimBoyutlama.IMAGE_ID_BASE = 'ResimIcerik_';
ResimBoyutlama.WARNING_ID_BASE = 'Uyari_';
function ResimBoyutlama(id, img) {
this.id = id;
this.img = img;
this.originalWidth = 0;
this.originalHeight = 0;
this.warning = null;
this.warningTextNode = null;
img.id = ResimBoyutlama.IMAGE_ID_BASE+id;
}
ResimBoyutlama.getNextId = function() {
id = 1;
while(document.getElementById(ResimBoyutlama.IMAGE_ID_BASE+id) != null) {
id++;
}
return id;
}
ResimBoyutlama.ResimOlustur = function(img) {
isRecovery = false;
if(img.id && img.id.indexOf(ResimBoyutlama.IMAGE_ID_BASE) == 0 && document.getElementById(ResimBoyutlama.WARNING_ID_BASE+img.id.substr(ResimBoyutlama.IMAGE_ID_BASE.length)) != null) {
newid = img.id.substr(ResimBoyutlama.IMAGE_ID_BASE.length);
resizer = new ResimBoyutlama(newid, img);
isRecovery = true;
resizer.restoreImage();
} else {
newid = ResimBoyutlama.getNextId();
resizer = new ResimBoyutlama(id, img);
}
if (resizer.originalWidth == 0) resizer.originalWidth = img.width;
if (resizer.originalHeight == 0) resizer.originalHeight = img.height;
if((ResimBoyutlama.MAXWIDTH > 0 && resizer.originalWidth > ResimBoyutlama.MAXWIDTH) || (ResimBoyutlama.MAXHEIGHT > 0 && resizer.originalHeight > ResimBoyutlama.MAXHEIGHT)) {
if(isRecovery) {
resizer.reclaimWarning(warning);
} else {
resizer.createWarning();
}
resizer.scale();
}}
ResimBoyutlama.prototype.restoreImage = function() {
newimg = document.createElement('IMG');
newimg.src = this.img.src;
this.img.width = newimg.width;
this.img.height = newimg.height;
}
ResimBoyutlama.prototype.reclaimWarning = function() {
warning = document.getElementById(ResimBoyutlama.WARNING_ID_BASE+newid);
this.warning = warning;
this.warningTextNode = warning.firstChild.firstChild.childNodes[1].firstChild;
this.warning.resize = this;
this.scale();
}
ResimBoyutlama.prototype.createWarning = function() {
mtable = document.createElement('TABLE');
mtbody = document.createElement('TBODY');
mtr = document.createElement('TR');
mtd1 = document.createElement('TD');
mtd2 = document.createElement('TD');
mimg = document.createElement('IMG');
mtext = document.createTextNode('');
mimg.src = 'Resimler/Uyari.gif';
mimg.width = 16;
mimg.height = 16;
mimg.alt = '';
mimg.border = 0;
mtd1.width = 20;
mtd1.className = 'td1';
mtd2.unselectable = 'on';
mtd2.className = 'td2';
mtable.className = 'Uyari';
mtable.textNode = mtext;
mtable.resize = this;
mtable.id = ResimBoyutlama.WARNING_ID_BASE+this.id;
mtd1.appendChild(mimg);
mtd2.appendChild(mtext);
mtr.appendChild(mtd1);
mtr.appendChild(mtd2);
mtbody.appendChild(mtr);
mtable.appendChild(mtbody);
this.img.parentNode.insertBefore(mtable, this.img);
this.warning = mtable;
this.warningTextNode = mtext;
}
ResimBoyutlama.prototype.scale = function() {
if(ResimBoyutlama.MAXWIDTH > 0 && this.originalWidth > ResimBoyutlama.MAXWIDTH) {
resized = true;
this.img.width = ResimBoyutlama.MAXWIDTH;
this.img.height = (ResimBoyutlama.MAXWIDTH / this.originalWidth) * this.originalHeight;
}
if(ResimBoyutlama.MAXHEIGHT > 0 && this.originalHeight > ResimBoyutlama.MAXHEIGHT) {
resized = true;
this.img.height = ResimBoyutlama.MAXHEIGHT;
this.img.width = (ResimBoyutlama.MAXHEIGHT / this.originalHeight) * this.originalWidth;
}
this.warning.width = this.img.width;
this.warning.onclick = function() { return this.resize.unScale(); }
if(this.img.width < 450) {
this.warningTextNode.data = UyariYazi['Uyari_Kucuk'];
} else if(this.img.fileSize && this.img.fileSize > 0) {
this.warningTextNode.data = UyariYazi['Uyari_Boyut'].replace('%1$s', this.originalWidth).replace('%2$s', this.originalHeight).replace('%3$s', Math.round(this.img.fileSize/1024));
} else {
this.warningTextNode.data = UyariYazi['Uyari_Boyutsuz'].replace('%1$s', this.originalWidth).replace('%2$s', this.originalHeight);
}
return false;
}
ResimBoyutlama.prototype.unScale = function() {
switch(ResimBoyutlama.MODE) {
case 'samewindow':
window.open(this.img.src, '_self');
break;
case 'newwindow':
window.open(this.img.src, '_blank');
break;
case 'ResimBoyutla':
default:
this.img.width = this.originalWidth;
this.img.height = this.originalHeight;
this.img.className = 'OrjinalBoyut';
if(this.warning != null) {
this.warningTextNode.data = UyariYazi['Uyari_TamBoyut'];
this.warning.width = this.img.width;
this.warning.onclick = function() { return this.resize.scale() };
}
break;
}
return false;
}
ResimBoyutlama.MODE = 'ResimBoyutla';
ResimBoyutlama.MAXWIDTH = 500;
ResimBoyutlama.MAXHEIGHT = 0;
UyariYazi['Uyari_Kucukl'] = 'Tam ekran görmek için tıklayınız';
UyariYazi['Uyari_Boyut'] = 'Bu resim küçültülmüştür. Buraya tıklayarak orjinal boyutuna çevirebilirsiniz';
UyariYazi['Uyari_Boyutsuz'] = 'Bu resim küçültülmüştür. Buraya tıklayarak orjinal boyutuna çevirebilirsiniz';
UyariYazi['Uyari_TamBoyut'] = 'Buraya tıklayarak resim boyutunu küçültebilirsiniz';
var aysdnsm=3000
var rekdnsm=22000
var gstrlckrekays=0
var gstrlcktopays=0
var gstrlckrekust=0
var gstrlcktopust=0
var gstrlckrekbyk=0
var gstrlcktopbyk=0
var gstrlckrekort=0
var gstrlcktoport=0
var gstrlckrekalt=0
var gstrlcktopalt=0
var gstrlckrekfrm=0
var gstrlcktopfrm=0
function geridekirekays(){
var geridekiays=0
while (document.getElementById("ays"+geridekiays)){
document.getElementById("ays"+geridekiays).style.display="none"
geridekiays++ } }
function geridekirekust(){
var geridekiust=0
while (document.getElementById("ust"+geridekiust)){
document.getElementById("ust"+geridekiust).style.display="none"
geridekiust++ } }
function geridekirekbyk(){
var geridekibyk=0
while (document.getElementById("byk"+geridekibyk)){
document.getElementById("byk"+geridekibyk).style.display="none"
geridekibyk++ } }
function geridekirekort(){
var geridekiort=0
while (document.getElementById("ort"+geridekiort)){
document.getElementById("ort"+geridekiort).style.display="none"
geridekiort++ } }
function geridekirekalt(){
var geridekialt=0
while (document.getElementById("alt"+geridekialt)){
document.getElementById("alt"+geridekialt).style.display="none"
geridekialt++ } }
function geridekirekfrm(){
var geridekifrm=0
while (document.getElementById("frm"+geridekifrm)){
document.getElementById("frm"+geridekifrm).style.display="none"
geridekifrm++ } }
function dnstrrekays(){
var gstrlckrekaysObj=document.getElementById("ays"+gstrlckrekays)
geridekirekays()
gstrlckrekaysObj.style.display="block"
gstrlckrekays=(gstrlckrekays<gstrlcktopays-1)? gstrlckrekays+1 : 0
setTimeout("dnstrrekays()",aysdnsm) }
function dnstrrekust(){
var gstrlckrekustObj=document.getElementById("ust"+gstrlckrekust)
geridekirekust()
gstrlckrekustObj.style.display="block"
gstrlckrekust=(gstrlckrekust<gstrlcktopust-1)? gstrlckrekust+1 : 0
setTimeout("dnstrrekust()",rekdnsm) }
function dnstrrekbyk(){
var gstrlckrekbykObj=document.getElementById("byk"+gstrlckrekbyk)
geridekirekbyk()
gstrlckrekbykObj.style.display="block"
gstrlckrekbyk=(gstrlckrekbyk<gstrlcktopbyk-1)? gstrlckrekbyk+1 : 0
setTimeout("dnstrrekbyk()",rekdnsm) }
function dnstrrekort(){
var gstrlckrekortObj=document.getElementById("ort"+gstrlckrekort)
geridekirekort()
gstrlckrekortObj.style.display="block"
gstrlckrekort=(gstrlckrekort<gstrlcktoport-1)? gstrlckrekort+1 : 0
setTimeout("dnstrrekort()",rekdnsm) }
function dnstrrekalt(){
var gstrlckrekaltObj=document.getElementById("alt"+gstrlckrekalt)
geridekirekalt()
gstrlckrekaltObj.style.display="block"
gstrlckrekalt=(gstrlckrekalt<gstrlcktopalt-1)? gstrlckrekalt+1 : 0
setTimeout("dnstrrekalt()",rekdnsm) }
function dnstrrekfrm(){
var gstrlckrekfrmObj=document.getElementById("frm"+gstrlckrekfrm)
geridekirekfrm()
gstrlckrekfrmObj.style.display="block"
gstrlckrekfrm=(gstrlckrekfrm<gstrlcktopfrm-1)? gstrlckrekfrm+1 : 0
setTimeout("dnstrrekfrm()",rekdnsm) }
function GosterRek(){
while (document.getElementById("ays"+gstrlcktopays)!=null)
gstrlcktopays++
dnstrrekays()
while (document.getElementById("ust"+gstrlcktopust)!=null)
gstrlcktopust++
dnstrrekust()
while (document.getElementById("byk"+gstrlcktopbyk)!=null)
gstrlcktopbyk++
dnstrrekbyk()
while (document.getElementById("ort"+gstrlcktoport)!=null)
gstrlcktoport++
dnstrrekort()
while (document.getElementById("alt"+gstrlcktopalt)!=null)
gstrlcktopalt++
dnstrrekalt()
while (document.getElementById("frm"+gstrlcktopfrm)!=null)
gstrlcktopfrm++
dnstrrekfrm() }
function bookmarksite(title, url){
if (document.all)
window.external.AddFavorite(url, title);
else if (window.sidebar)
window.sidebar.addPanel(title, url, "") }
function blinkIt(){if(!document.all)return;else{for(i=0; i<document.all.tags('blink').length; i++){s=document.all.tags('blink')[i];s.style.visibility=(s.style.visibility=='visible')?'hidden':'visible';}}}setInterval('blinkIt()',500);
function ajaxsayfa(url, divid){
document.getElementById(divid).innerHTML="<img src='Resimler/loading.gif' align='absmiddle' border='0'/>"
var page_request = false
if (window.XMLHttpRequest)
page_request = new XMLHttpRequest()
else if (window.ActiveXObject){
try {
page_request = new ActiveXObject("Msxml2.XMLHTTP")
} 
catch (e){
try{
page_request = new ActiveXObject("Microsoft.XMLHTTP")
}
catch (e){}
}}
else
return false
page_request.onreadystatechange=function(){
loadpage(page_request, divid)
}
page_request.open('GET', url, true)
page_request.send(null)
}
function loadpage(page_request, divid){
if (page_request.readyState == 4 && (page_request.status==200 || window.location.href.indexOf("http")==-1))
document.getElementById(divid).innerHTML=page_request.responseText
}
function Gonder(Fm){
var URL = Fm.options[Fm.selectedIndex].value;
window.location.href = URL;
}
var disappeardelay=25
var enableanchorlink=1
var hidemenu_onclick=1
var horizontaloffset=1
var ie5=document.all
var ns6=document.getElementById&&!document.all
function getposOffset(what, offsettype){
var totaloffset=(offsettype=="left")? what.offsetLeft : what.offsetTop;
var parentEl=what.offsetParent;
while (parentEl!=null){
totaloffset=(offsettype=="left")? totaloffset+parentEl.offsetLeft : totaloffset+parentEl.offsetTop;
parentEl=parentEl.offsetParent;
}
return totaloffset;
}
function showhide(obj, e, visible, hidden){
if (ie5||ns6)
dropmenuobj.style.left=dropmenuobj.style.top=-500
if (e.type=="click" && obj.visibility==hidden || e.type=="mouseover")
obj.visibility=visible
else if (e.type=="click")
obj.visibility=hidden
}
function iecompattest(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}
function clearbrowseredge(obj, whichedge){
var edgeoffset=0
if (whichedge=="rightedge"){
var windowedge=ie5 && !window.opera? iecompattest().scrollLeft+iecompattest().clientWidth-15 : window.pageXOffset+window.innerWidth-15
dropmenuobj.contentmeasure=dropmenuobj.offsetWidth
if (windowedge-dropmenuobj.x-obj.offsetWidth < dropmenuobj.contentmeasure)
edgeoffset=dropmenuobj.contentmeasure+obj.offsetWidth+(horizontaloffset*2)
}
else{
var topedge=ie5 && !window.opera? iecompattest().scrollTop : window.pageYOffset
var windowedge=ie5 && !window.opera? iecompattest().scrollTop+iecompattest().clientHeight-15 : window.pageYOffset+window.innerHeight-18
dropmenuobj.contentmeasure=dropmenuobj.offsetHeight
if (windowedge-dropmenuobj.y < dropmenuobj.contentmeasure){
edgeoffset=dropmenuobj.contentmeasure-obj.offsetHeight
if ((dropmenuobj.y-topedge)<dropmenuobj.contentmeasure)
edgeoffset=dropmenuobj.y
}
}
return edgeoffset
}
function dropdownmenu(obj, e, dropmenuID){
if (window.event) event.cancelBubble=true
else if (e.stopPropagation) e.stopPropagation()
if (typeof dropmenuobj!="undefined")
dropmenuobj.style.visibility="hidden"
clearhidemenu()
if (ie5||ns6){
obj.onmouseout=delayhidemenu
dropmenuobj=document.getElementById(dropmenuID)
if (hidemenu_onclick) dropmenuobj.onclick=function(){dropmenuobj.style.visibility='hidden'}
dropmenuobj.onmouseover=clearhidemenu
dropmenuobj.onmouseout=ie5? function(){ dynamichide(event)} : function(event){ dynamichide(event)}
showhide(dropmenuobj.style, e, "visible", "hidden")
dropmenuobj.x=getposOffset(obj, "left")
dropmenuobj.y=getposOffset(obj, "top")
dropmenuobj.style.left=dropmenuobj.x-clearbrowseredge(obj, "rightedge")+obj.offsetWidth+horizontaloffset+"px"
dropmenuobj.style.top=dropmenuobj.y-clearbrowseredge(obj, "bottomedge")+"px"
}
return clickreturnvalue()
}
function clickreturnvalue(){
if ((ie5||ns6) && !enableanchorlink) return false
else return true
}
function contains_ns6(a, b) {
while (b.parentNode)
if ((b = b.parentNode) == a)
return true;
return false;
}
function dynamichide(e){
if (ie5&&!dropmenuobj.contains(e.toElement))
delayhidemenu()
else if (ns6&&e.currentTarget!= e.relatedTarget&& !contains_ns6(e.currentTarget, e.relatedTarget))
delayhidemenu()
}
function delayhidemenu(){
delayhide=setTimeout("dropmenuobj.style.visibility='hidden'",disappeardelay)
}
function clearhidemenu(){
if (typeof delayhide!="undefined")
clearTimeout(delayhide)
}
var google_text_color = '#000000';
var google_link_colors = new Array('#ffff66','#a0ffff','#99ff99','#ff9999','#ff66ff');
function init_google(){
var pattern = /google\./i;
if (pattern.exec(document.referrer) != null){
var url_parts = document.referrer.split('?');
if (url_parts[1]){ 
var url_args = url_parts[1].split('&');
for(var i=0; i<url_args.length; i++){
var keyval = url_args[i].split('=');
if (keyval[0] == 'q'){
go_google(decode_url(keyval[1]));
return;
}}}}}
function decode_url(url){
return unescape(url.replace(/\+/g,' '));
}
function go_google(terms){
terms = terms.replace(/\"/g,"");
var terms_split = terms.split(' ');
var c = 0;
for(var i=0; i<terms_split.length; i++){
highlight_goolge(terms_split[i], document.body,google_link_colors[c]);
c = (c == google_link_colors.length-1)?0:c+1;
}}
function highlight_goolge(term, container, color){
var term_low = term.toLowerCase();
for(var i=0; i<container.childNodes.length; i++){
var node = container.childNodes[i];
if (node.nodeType == 3){
var data = node.data;
var data_low = data.toLowerCase();
if (data_low.indexOf(term_low) != -1){
var new_node = document.createElement('SPAN');
node.parentNode.replaceChild(new_node,node);
var result;
while((result = data_low.indexOf(term_low)) != -1){
new_node.appendChild(document.createTextNode(data.substr(0,result)));
new_node.appendChild(create_node_google(document.createTextNode(data.substr(result,term.length)),color));
data = data.substr(result + term.length);
data_low = data_low.substr(result + term.length);
}
new_node.appendChild(document.createTextNode(data));
}
}else{
highlight_goolge(term, node, color);
}}}
function create_node_google(child, color){
var node = document.createElement('SPAN');
node.style.backgroundColor = color;
node.style.color = google_text_color;
node.appendChild(child);
return node;
}
if (window.addEventListener)
window.addEventListener("load", init_google, false)
else if (window.attachEvent)
window.attachEvent("onload", init_google)
else if (document.getElementById)
window.onload=init_google
var offsetfromcursorX=3
var offsetfromcursorY=18
var offsetdivfrompointerX=15
var offsetdivfrompointerY=14
document.write('<div id="dhtmltooltip"></div>')
document.write('<img id="dhtmlpointer" src="Resimler/isaret.gif">')
var ie=document.all
var ns6=document.getElementById && !document.all
var enabletip=false
if (ie||ns6)
var tipobj=document.all? document.all["dhtmltooltip"] : document.getElementById? document.getElementById("dhtmltooltip") : ""
var pointerobj=document.all? document.all["dhtmlpointer"] : document.getElementById? document.getElementById("dhtmlpointer") : ""
function ietruebody(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body }
function ddrivetip(thetext, thewidth, thecolor){
if (ns6||ie){
if (typeof thewidth!="undefined") tipobj.style.width=thewidth+"px"
if (typeof thecolor!="undefined" && thecolor!="") tipobj.style.backgroundColor=thecolor
tipobj.innerHTML=thetext
enabletip=true
return false } }
function positiontip(e){
if (enabletip){
var nondefaultpos=false
var curX=(ns6)?e.pageX : event.clientX+ietruebody().scrollLeft;
var curY=(ns6)?e.pageY : event.clientY+ietruebody().scrollTop;
var winwidth=ie&&!window.opera? ietruebody().clientWidth : window.innerWidth-20
var winheight=ie&&!window.opera? ietruebody().clientHeight : window.innerHeight-20
var rightedge=ie&&!window.opera? winwidth-event.clientX-offsetfromcursorX : winwidth-e.clientX-offsetfromcursorX
var bottomedge=ie&&!window.opera? winheight-event.clientY-offsetfromcursorY : winheight-e.clientY-offsetfromcursorY
var leftedge=(offsetfromcursorX<0)? offsetfromcursorX*(-1) : -1000
if (rightedge<tipobj.offsetWidth){
tipobj.style.left=curX-tipobj.offsetWidth+"px"
nondefaultpos=true }
else if (curX<leftedge)
tipobj.style.left="5px"
else{
tipobj.style.left=curX+offsetfromcursorX-offsetdivfrompointerX+"px"
pointerobj.style.left=curX+offsetfromcursorX+"px" }
if (bottomedge<tipobj.offsetHeight){
tipobj.style.top=curY-tipobj.offsetHeight-offsetfromcursorY+"px"
nondefaultpos=true
}else{
tipobj.style.top=curY+offsetfromcursorY+offsetdivfrompointerY+"px"
pointerobj.style.top=curY+offsetfromcursorY+"px" }
tipobj.style.visibility="visible"
if (!nondefaultpos)
pointerobj.style.visibility="visible"
else
pointerobj.style.visibility="hidden"} }
function hideddrivetip(){
if (ns6||ie){
enabletip=false
tipobj.style.visibility="hidden"
pointerobj.style.visibility="hidden"
tipobj.style.left="-1000px"
tipobj.style.backgroundColor=''
tipobj.style.width='' } }
document.onmousemove=positiontip
AIM = {
frame : function(c) {
var n = 'f' + Math.floor(Math.random() * 99999);
var d = document.createElement('DIV');
d.innerHTML = '<iframe style="display:none" src="about:blank" id="'+n+'" name="'+n+'" onload="AIM.loaded(\''+n+'\')"></iframe>';
document.body.appendChild(d);
var i = document.getElementById(n);
if (c && typeof(c.onComplete) == 'function') {
i.onComplete = c.onComplete;
}
return n;
},
form : function(f, name) {
f.setAttribute('target', name);
},
submit : function(f, c) {
AIM.form(f, AIM.frame(c));
if (c && typeof(c.onStart) == 'function') {
return c.onStart();
} else {
return true;
}
},
loaded : function(id) {
var i = document.getElementById(id);
if (i.contentDocument) {
var d = i.contentDocument;
} else if (i.contentWindow) {
var d = i.contentWindow.document;
} else {
var d = window.frames[id].document;
}
if (d.location.href == "about:blank") {
return;
}
if (typeof(i.onComplete) == 'function') {
i.onComplete(d.body.innerHTML);
}
}
}
function startCallback() {
document.getElementById('Cevap').innerHTML = "<font color=#ff0000>Yükleniyor...</font>"
return true;
}
function completeCallback(response) {
document.getElementById('Cevap').innerHTML = '<font color=#0000ff>Yüklendi...</font>';
document.getElementById('nr').innerHTML = parseInt(document.getElementById('nr').innerHTML) + 1;
document.getElementById('r').innerHTML = response;
}