var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3994481&docid=69596741&x=1049',
		'title': '',
		'imageId': '69596741',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994481&docid=69596737&x=1049',
		'title': '',
		'imageId': '69596737',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994481&docid=69596736&x=1049',
		'title': '',
		'imageId': '69596736',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994481&docid=69596739&x=1049',
		'title': '',
		'imageId': '69596739',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994481&docid=69596744&x=1049',
		'title': '',
		'imageId': '69596744',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994481&docid=69596743&x=1049',
		'title': '',
		'imageId': '69596743',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994481&docid=69596740&x=1049',
		'title': '',
		'imageId': '69596740',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994481&docid=69596742&x=1049',
		'title': '',
		'imageId': '69596742',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994481&docid=69596745&x=1049',
		'title': '',
		'imageId': '69596745',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994481&docid=69596816&x=1049',
		'title': '',
		'imageId': '69596816',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3994481';

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