I do not know much about javascript.
My problem is that:
I want that
name.com/index.php?p=stg
webpage or something read my urls after # mark

anything in url stays still but
name.com/MAIN#index.php?p=stg
MAIN# or # sth with # comes before my url name.com/index.php?p=stg

Sorry about my english.