var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3979931&docid=69258337&x=87',
		'title': '',
		'imageId': '69258337',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979931&docid=69258338&x=87',
		'title': '',
		'imageId': '69258338',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979931&docid=69258339&x=87',
		'title': '',
		'imageId': '69258339',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979931&docid=69258340&x=87',
		'title': '',
		'imageId': '69258340',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979931&docid=69258341&x=87',
		'title': '',
		'imageId': '69258341',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979931&docid=69258342&x=87',
		'title': '',
		'imageId': '69258342',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979931&docid=69258343&x=87',
		'title': '',
		'imageId': '69258343',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979931&docid=69258344&x=87',
		'title': '',
		'imageId': '69258344',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979931&docid=69258345&x=87',
		'title': '',
		'imageId': '69258345',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979931&docid=69258346&x=87',
		'title': '',
		'imageId': '69258346',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979931&docid=69258347&x=87',
		'title': '',
		'imageId': '69258347',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979931&docid=69258348&x=87',
		'title': '',
		'imageId': '69258348',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3979931';

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