var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3974962&docid=69144344&x=378',
		'title': '',
		'imageId': '69144344',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974962&docid=69144338&x=378',
		'title': '',
		'imageId': '69144338',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974962&docid=69144336&x=378',
		'title': '',
		'imageId': '69144336',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974962&docid=69144345&x=378',
		'title': '',
		'imageId': '69144345',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974962&docid=69144342&x=378',
		'title': '',
		'imageId': '69144342',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974962&docid=69144341&x=378',
		'title': '',
		'imageId': '69144341',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974962&docid=69144339&x=378',
		'title': '',
		'imageId': '69144339',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974962&docid=69144337&x=378',
		'title': '',
		'imageId': '69144337',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974962&docid=69144343&x=378',
		'title': '',
		'imageId': '69144343',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974962&docid=69144340&x=378',
		'title': '',
		'imageId': '69144340',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3974962';

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