
function popupPortfolio(link){popW=screen.availWidth-80;popH=screen.availHeight-80;winTop=(screen.height-popH)/4;winLeft=(screen.width-popW)/2;windowprops="height="+popH+",width="+popW+",top="+winTop+",left="+winLeft+", scrollbars=yes,menubars=no,toolbars=no,resizable=yes,status=yes";newWindow=window.open(link,'Portfolio',windowprops);newWindow.focus();}
function popupText(link,windowName){windowprops="height=600,width=640,scrollbars=yes,menubars=no,toolbars=no,resizable=yes";newWindow=window.open(link,windowName,windowprops);newWindow.moveTo(((screen.width-640)/2),((screen.height-600)/2));newWindow.focus();}
function popupRead(link,windowName){windowprops="height=600,width=640,scrollbars=yes,menubars=no,toolbars=no,resizable=yes";newWindow=window.open(link,windowName,windowprops);newWindow.moveTo(((screen.width-600)/2),((screen.height-600)/2));newWindow.focus();}
function popupPortfolio_v2(link,imageWidth,imageHeight,windowName){windowprops="height=600,width=600,screenX=150,screenY=0,top=20,left=150,scrollbars=no,menubars=no,toolbars=no,resizable=yes";newWindow=window.open(link,'Works',windowprops);newWindow.moveTo(10,10);newWindow.focus();}
function popup(link){windowprops="height=100,width=100,scrollbars=yes,menubars=no,toolbars=no,resizable=yes";newWindow=window.open(link,'PersonPopup',windowprops);newWindow.moveTo(((screen.width-640)/2),((screen.height-600)/2));newWindow.focus();}
function popupdwr(link){windowprops="height=354,width=420,scrollbars=yes,menubars=no,toolbars=no,resizable=yes";newWindow=window.open(link,'dwr',windowprops);newWindow.moveTo((screen.width/6),(screen.height/6));newWindow.focus();}
function popupdwr2(link){windowprops="height=654,width=520,scrollbars=yes,menubars=no,toolbars=no,resizable=yes";newWindow=window.open(link,'dwr2',windowprops);newWindow.moveTo((screen.width/5),(screen.height/5));newWindow.focus();}
function popupVideo(link){windowprops="height=200,width=480,scrollbars=no,menubars=no,toolbars=no,resizable=yes";newWindow=window.open(link,'videoinfo',windowprops);newWindow.moveTo(((screen.width-480)/2),((screen.height-425)/6));parent.focus();}
function popupVideo2(link){windowprops="height=429,width=480,scrollbars=no,menubars=no,toolbars=no,resizable=yes";newWindow=window.open(link,'video',windowprops);newWindow.moveTo(((screen.width-480)/2),((screen.height-425)/6));newWindow.focus();}
function popupImage(link,windowName){windowprops="height=600,width=640,screenX=150,screenY=0,top=20,left=150,scrollbars=yes,menubars=no,toolbars=no,resizable=yes";newWindow=window.open(link,windowName,windowprops);newWindow.moveTo((screen.width/4),(screen.height/4));newWindow.focus();}
function popupImage(windowName,imageWidth,imageHeight,link){windowprops="height="+imageHeight+",width="+imageWidth+",screenX=150,screenY=0,top=20,left=150,scrollbars=no,menubars=no,toolbars=no,resizable=yes";newWindow=window.open(link,windowName,windowprops);newWindow.moveTo((screen.width/4),(screen.height/4));newWindow.focus();}
function popupImage2(windowName,imageWidth,imageHeight,link){windowprops="height=600,width=600,scrollbars=yes,menubars=no,toolbars=no,resizable=yes";newWindow=window.open(link,windowName,windowprops);newWindow.moveTo(((screen.width-600)/2),((screen.height-600)/2));newWindow.focus();}
function popupScrollingImage(windowName,imageWidth,imageHeight,link){windowprops="height="+imageHeight+",width="+imageWidth+",screenX=150,screenY=0,top=20,left=150,scrollbars=yes,menubars=no,toolbars=no,resizable=yes";newWindow=window.open(link,windowName,windowprops);newWindow.focus();}