Warning: fopen(/home/nonoil.com/www/bbs/data/now_member_connect.php) [function.fopen]: failed to open stream: Permission denied in /home/nonoil.com/www/bbs/lib.php on line 1008
Warning: flock(): supplied argument is not a valid stream resource in /home/nonoil.com/www/bbs/lib.php on line 1009
Warning: flock(): supplied argument is not a valid stream resource in /home/nonoil.com/www/bbs/lib.php on line 1013
Warning: fclose(): supplied argument is not a valid stream resource in /home/nonoil.com/www/bbs/lib.php on line 1014
Warning: fopen(/home/nonoil.com/www/bbs/data/now_connect.php) [function.fopen]: failed to open stream: Permission denied in /home/nonoil.com/www/bbs/lib.php on line 1008
Warning: flock(): supplied argument is not a valid stream resource in /home/nonoil.com/www/bbs/lib.php on line 1009
Warning: flock(): supplied argument is not a valid stream resource in /home/nonoil.com/www/bbs/lib.php on line 1013
Warning: fclose(): supplied argument is not a valid stream resource in /home/nonoil.com/www/bbs/lib.php on line 1014
//document.domain = "zog.co.kr";
//2004-04-22
serverurl="http://www.nonoil.com/blog";
if(location.href.indexOf(serverurl)<0 && document.all){
location.href=serverurl+'/'+document.location.search+document.location.hash;
}
//2004-04-22
lastIndex=(location.href.indexOf("no=")>0)?0:1;
currentIndex=(location.href.indexOf("ppage")>0)?lastIndex:0;
function checkPP(){
if(currentIndex!=0){
document.anchors[currentIndex-1].scrollIntoView();
currentIndex--;
}
}
function toSide(url){
window.open(url,"_search");
}
function gonextP(){
var l=document.links;
var ll=l.length;
while(ll>0){
ll--;
if(l[ll].href.indexOf('npage')>0&& location.href!=l[ll].href){
location.href=l[ll].href;
return;
}
}
status="³¡ºÎºÐÀÔ´Ï´Ù.";
}
function goprevP(){
var l=document.links;
var ll=l.length;
while(ll>0){
ll--;
if(l[ll].href.indexOf('ppage')>0&&location.href!=l[ll].href){
location.href=l[ll].href;
return;
}
}
status="³¡ºÎºÐÀÔ´Ï´Ù.";
}
function gonext(){
currentIndex++;
if(lastIndex>document.anchors.length)lastIndex=document.anchors.length;
if(currentIndex>=lastIndex ){ gonextP();currentIndex=lastIndex-1; }
else {
document.anchors[currentIndex].scrollIntoView();
}
}
function goprev(){
currentIndex--;
if(currentIndex<0){ goprevP(); currentIndex=0;}
else {
document.anchors[currentIndex].scrollIntoView();
}
}
function moveA(d){
if(location.href.indexOf('&simple')>0 )document.getElementById("mains").scrollIntoView(true);
}
function ShortCuts (e) {
if (e == null) {
code = event.keyCode;
if(event.srcElement.tagName == "INPUT" ) return true;
} else {
if (e.altKey || e.ctrlKey) {
return true;
}
if(e.target.tagName == "INPUT" ) return;
code = e.which;
}
key = String.fromCharCode(code).toLowerCase();
if(code==13) key="enter";
switch(key) {
case "z": { if(self.status.indexOf('og')<0){self.status="(< >)prev/next, (C)heckIn/Out,(V)iewToggle,(N)ew,(L)ogIn/Out,(A)dmin,(Z)og this";
}else { self.status='';} }; return false;
case "c": {
location.href='http://www.nonoil.com/blog//glogin.php?url=http://www.nonoil.com/blog/';}return false;
case "n": {
location.href='http://www.nonoil.com/blog//write/index.php';} return false;
case "enter": {
var no=document.anchors[currentIndex].name;
location.href='http://www.nonoil.com/blog/?no='+no+'#'+no;
} return false;
case ">": {
window.scroll(0,document.body.scrollHeight);
return false;
}
case "<": {
window.scroll(0,0);
return false;
}
case ".": {
status="";
//if(document.anchors.length>0)
gonext();
} return false;
case ",": {
status="";
//if(document.anchors.length>0)
goprev();
} return false;
case "a": {
open('http://www.nonoil.com/blog//admin.php','_self');} return false;
case "v": {
if (location.href.indexOf('http://www.nonoil.com/bbs/zboard.php?id=blog')<0) {
location.href='http://www.nonoil.com/blog/?frame_url=http://www.nonoil.com/bbs/zboard.php?id=blog';
}
else {
location.href='http://www.nonoil.com/blog/';
}
} return false;
case "l": {
location.href='http://www.nonoil.com/blog//login.php?url=http://www.nonoil.com/blog/';} return false;
case "z": return false;
}
return true;
}
document.onkeypress=ShortCuts;
function comment_expand(dir,num,flag){
var ls=location.pathname;
if(ls.lastIndexOf('\/')
}
function toFrame(url){
if( document.getElementById("mainFrame")){
document.getElementById("mainFrame").src=url;
return false;
}
else {
location.href='http://www.nonoil.com/blog/?frame_url='+escape(url);
return false;
}
}
function toOpener(url){
if(window.name=="mainFrame"){
open(url,"_top");
return;
}
if(document.all) {
open(url,"_main");
}
else {
open(url,"_content");
//open(url);
}
}
//var oldFn = new String(window.onload);
//window.onload = new Function("resizeFrames();" + oldFn);
//var oldFn1 = new String(window.resize);
window.onresize=function (){
resizeFrames();
}
//resizeFrames();