// Add media to new item
function addMedia() {
-
- var mediapopup = window.open(nucleusMediaPopupURL + 'media.php','name',
- 'status=yes,toolbar=no,scrollbars=yes,resizable=yes,width=500,height=450,top=0,left=0');
-
- return;
-}
-
-
-function setMediaPopupURL(url) {
- nucleusMediaPopupURL = url;
+ if ( typeof(medium) != 'undefined' )
+ {
+ medium.addMedia();
+ }
+ else
+ {
+ alert('Media Plugin Not Found');
+ }
}
function includeImage(collection, filename, type, width, height) {
function BtnNormal(el) {
with(el.style){
- padding="3px";
border="1px solid #dddddd";
}
}