<script>
var BASE_PATH = '<?php echo W_BASE_URL;?>',ROUTE_MODE = '<?php echo R_MODE;?>', R_VAR_NAME = '<?php echo R_GET_VAR_NAME;?>', W_BASE_FILENAME = '<?php echo W_BASE_FILENAME;?>';
var R_VAR_NAME = '<?php echo R_GET_VAR_NAME;?>';
</script>
