var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=915298&docid=7291723&x=3444',
		'title': '',
		'imageId': '7291723',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=915298&docid=7291729&x=3444',
		'title': '',
		'imageId': '7291729',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=915298&docid=7291725&x=3444',
		'title': '',
		'imageId': '7291725',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=915298&docid=7291724&x=3444',
		'title': '',
		'imageId': '7291724',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=915298&docid=7291735&x=3444',
		'title': '',
		'imageId': '7291735',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=915298&docid=7291736&x=3444',
		'title': '',
		'imageId': '7291736',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=915298&docid=7291737&x=3444',
		'title': '',
		'imageId': '7291737',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=915298&docid=7291744&x=3444',
		'title': '',
		'imageId': '7291744',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=915298&docid=7291746&x=3444',
		'title': '',
		'imageId': '7291746',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=915298&docid=7291745&x=3444',
		'title': '',
		'imageId': '7291745',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=915298&docid=7291753&x=3444',
		'title': '',
		'imageId': '7291753',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #915298';

document.body.style.overflow = "hidden";
var closeElement = document.querySelector("#lightbox #close");
var closeLoadingElement = document.querySelector("#lightbox #closeLoading");

if (closeElement) {
	closeElement.addEventListener("click", function() {
		document.body.style.overflow = "auto";
	})
}

if (closeLoadingElement) {
	closeLoadingElement.addEventListener("click", function() {
		document.body.style.overflow = "auto";
	})
}
