var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4003748&docid=69804389&x=393',
		'title': '',
		'imageId': '69804389',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003748&docid=69804387&x=393',
		'title': '',
		'imageId': '69804387',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003748&docid=69804359&x=393',
		'title': '',
		'imageId': '69804359',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003748&docid=69804385&x=393',
		'title': '',
		'imageId': '69804385',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003748&docid=69804386&x=393',
		'title': '',
		'imageId': '69804386',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003748&docid=69804388&x=393',
		'title': '',
		'imageId': '69804388',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003748&docid=69804390&x=393',
		'title': '',
		'imageId': '69804390',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003748&docid=69855046&x=393',
		'title': '',
		'imageId': '69855046',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003748&docid=69855045&x=393',
		'title': '',
		'imageId': '69855045',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003748&docid=69855047&x=393',
		'title': '',
		'imageId': '69855047',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003748&docid=69855048&x=393',
		'title': '',
		'imageId': '69855048',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4003748';

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";
	})
}
