function getRegistrationHTML(productId){
    if(productId){
        document.write('<input name="product_id" type="hidden" value="'+productId+'"/>');
    }
    document.write('<input type="hidden" name="flow" value="/user/registration.html"/>');
    document.write('<input type="hidden" name="flow" value="/auth/user/edit/index.html"/>');
    // <input type="hidden" name="flow" value="/auth/user/edit/billing.html"/>
    if(!productId){
        document.write('<input type="hidden" name="flow" value="/auth/shop/index.html"/>');
    }
    // <input type="hidden" name="flow" value="-/auth/shop/cart.html"/>
    document.write('<input type="hidden" name="flow" value="-/auth/shop/checkout.html"/>');
    document.write('<input type="hidden" name="flow" value="/auth/accommodation/add.html"/>');
    document.write('<input type="hidden" name="flow" value="/auth/accommodation/edit/description.html"/>');
    // massages
    document.write('<input type="hidden" name="flowmsg" value="key-flow-registration"/>');
    document.write('<input type="hidden" name="flowmsg" value="key-flow-user-index"/>');
    // <input type="hidden" name="flowmsg" value="key-flow-user-billing"/>
    if(!productId){
        document.write('<input type="hidden" name="flowmsg" value="key-flow-user-shop"/>');
    }
    // <input type="hidden" name="flowmsg" value="key-flow-user-cart"/>
    document.write('<input type="hidden" name="flowmsg" value="key-flow-user-checkout"/>');
    document.write('<input type="hidden" name="flowmsg" value="key-flow-user-acco-add"/>');
    document.write('<input type="hidden" name="flowmsg" value="key-flow-user-acco-desc"/>');
}