function loadPre(){
    checkdir()
    if(isDir == 0){dirMake()}
    OnlineCheck()
    location.replace("loadTextures.html");
}
// do this when loadBtn is pressed
do this when loadBtn is pressed
do this when loadBtn is pressed
function loadPre(){
    checkdir()
    if(isDir == 0){dirMake()}
    OnlineCheck()
    location.replace("loadTextures.html");
}
function loadPre ( ) { checkdir ( ) if ( isDir == 0 ) { dirMake ( ) } OnlineCheck ( ) location . replace ( "loadTextures.html" ) ; }
do this when loadBtn is pressed
do this when loadBtn is pressed