var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3973439&docid=69105084&x=3632',
		'title': '',
		'imageId': '69105084',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973439&docid=69105083&x=3632',
		'title': '',
		'imageId': '69105083',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973439&docid=69105089&x=3632',
		'title': '',
		'imageId': '69105089',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973439&docid=69105093&x=3632',
		'title': '',
		'imageId': '69105093',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973439&docid=69105090&x=3632',
		'title': '',
		'imageId': '69105090',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973439&docid=69105082&x=3632',
		'title': '',
		'imageId': '69105082',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973439&docid=69105080&x=3632',
		'title': '',
		'imageId': '69105080',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973439&docid=69105096&x=3632',
		'title': '',
		'imageId': '69105096',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973439&docid=69105079&x=3632',
		'title': '',
		'imageId': '69105079',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973439&docid=69105081&x=3632',
		'title': '',
		'imageId': '69105081',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973439&docid=69105101&x=3632',
		'title': '',
		'imageId': '69105101',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3973439';

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