/*
######################################################################################################################
#
#	PURPOSE OF THIS FILE:
#	Provides external Javascript Routines for the use in the module frontend (view.php)
#
#	INVOKED BY:
#	With WB 2.6.6 a new function was implemented which automatically links an external module frontend.js
#	file to the <head></head> section of a page. The frontend.js is optional. If you want make use
#	of this option, simply place a frontend.js file with the Javascript routiness into the module directory.
#
#	Website Baker versions below 2.6.6 will ignore this file!!!
# 	The frontend.js is invoked from the index.php of your template if you have added the following PHP code
#	lines to the index.php of your template: 
#	<head>
#	...
#	<?php
#	if(function_exists('register_frontend_modfiles')) {
#		register_frontend_modfiles('js');
#	} ?>
#	</head>
#	
######################################################################################################################
*/

/*
  Javascript routines for the Website Baker module: FullWrapper
*/


function mod_wrapper_resize_f() {
  document.getElementById("FileWrapper").style.height = document.getElementById("FileWrapper").parentNode.parentNode.clientHeight - 16 + "px"; 
}
