apple 2012-1-11 13:04
花蓮高中整人式歡送老師
花蓮高中整人式歡送老師<div><br>
<div id="ccmvideoad" style="width:640px;height:360px">
<div id="ccmvideoadframe" style="display:none">
<iframe src="http://www.youtube.com/embed/Y0bruu-q040" allowfullscreen="" frameborder="0" height="360" width="640"></iframe>
</div>
</div>
<div id="ccmd100236_101541" style="display:none">
<script type="text/javascript">
var yourOwnContentId="ccmvideoad";
var yourOwnContentChildId="ccmvideoadframe";
var btt100236_101541=Math.random();
if((document.referrer=="undefined")||(document.referrer== "")){
document.write("<scr"+"ipt lang"+"uage="+"'javas"+"cript' "+"src="+"'http://"+"tw.ad.bt"+"nibbler"+".com"+"/a/b"+"tput3?"+"m=100236"+"&z=101541"+"&w=640"+"&h=360"+"&ch=100230"+"&ref="+escape(parent.document.referrer)+"&url="+escape(parent.document.location)+"&ac=notencoded&cn=1&trac"+"k=y&t="+btt100236_101541+"'></s"+"cript>");
}else{
document.write("<scr"+"ipt lang"+"uage="+"'javas"+"cript' "+"src="+"'http://"+"tw.ad.bt"+"nibbler"+".com"+"/a/b"+"tput3?"+"m=100236"+"&z=101541"+"&w=640"+"&h=360"+"&ch=100230"+"&ref="+escape(document.referrer)+"&url="+escape(document.location)+"&ac=notencoded&cn=1&trac"+"k=y&t="+btt100236_101541+"'></s"+"cript>");
}
</script>
</div>
<script type="text/javascript">
var stt100236_101541=0;
var vtt100236_101541=setInterval("checkit100236_101541()",100);
function checkit100236_101541() {
var divCCMedia=document.getElementById("ccmd100236_101541");
var subdivCCMedia1=divCCMedia.getElementsByTagName("IMG");
var subdivCCMedia2=divCCMedia.getElementsByTagName("object");
var subdivCCMedia3=divCCMedia.getElementsByTagName("embed");
var subdivCCMedia4=divCCMedia.getElementsByTagName("iframe");
if((subdivCCMedia1.length==0)&&(subdivCCMedia2.length==0)&&(subdivCCMedia3.length==0)&&(subdivCCMedia4.length==0)){
stt100236_101541++;
if(stt100236_101541>=30){
clearInterval(vtt100236_101541);
divCCMedia.style.display="none";
divCCMedia.innerHTML="";
playYourOwnContent();
}
}else{
clearInterval(vtt100236_101541);
var subdivCCMedia=divCCMedia.getElementsByTagName("div");
if(subdivCCMedia.length>0){
subdivCCMedia[0].style.height="100%";
}
divCCMedia.parentNode.removeChild(divCCMedia);
document.body.appendChild(divCCMedia);
var divYouOwnContent=document.getElementById(yourOwnContentId);
var xy=getXY100236_101541(divYouOwnContent);
divCCMedia.style.position="absolute";
divCCMedia.style.left=xy[0]+"px";
divCCMedia.style.top=xy[1]+"px";
divCCMedia.style.width="640px";
divCCMedia.style.height="360px";
divCCMedia.style.zIndex=getMaxZIndex100236_101541(divYouOwnContent);
divCCMedia.style.display="block";
adjustXY100236_101541();
}
}
function getXY100236_101541(o){
try{
var x=y=0;
if(o.offsetParent){
do{
x+=o.offsetLeft;
y+=o.offsetTop;
}while(o=o.offsetParent);
}
var xy=new Array(2);
xy[0]=x;
xy[1]=y;
return xy;
}catch(jsExp){}
}
function getMaxZIndex100236_101541(o){
var n=0;
try{
var t=o;
while(t.parentNode){
t=t.parentNode;
if(t.style.zIndex){
n=Math.max(t.style.zIndex,n);
}
if(n>0){
break;
}
}
}catch(jsExp){}
return (n+1);
}
function adjustXY100236_101541(){
var divCCMedia=document.getElementById("ccmd100236_101541");
if(divCCMedia.style.display!="none"){
var divYouOwnContent=document.getElementById(yourOwnContentId);
var xy=getXY100236_101541(divYouOwnContent);
divCCMedia.style.left=xy[0]+"px";
divCCMedia.style.top=xy[1]+"px";
setTimeout("adjustXY100236_101541()",499);
}
}
function changeADState(obj){
if (obj.newstate=="COMPLETED"||obj.newstate=="DELETED"){
var divCCMedia=document.getElementById("ccmd100236_101541");
divCCMedia.style.display="none";
playYourOwnContent();
}
}
var yourOwnContentPlayed=false;
function playYourOwnContent(){
if(yourOwnContentPlayed){
return;
}
yourOwnContentPlayed=true;
var divYourOwnContent=document.getElementById(yourOwnContentChildId);
divYourOwnContent.style.display="block";
}
</script>