var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3974399&docid=68945399&x=030',
		'title': '',
		'imageId': '68945399',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974399&docid=68945398&x=030',
		'title': '',
		'imageId': '68945398',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974399&docid=68945397&x=030',
		'title': '',
		'imageId': '68945397',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974399&docid=68945396&x=030',
		'title': '',
		'imageId': '68945396',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974399&docid=68945405&x=030',
		'title': '',
		'imageId': '68945405',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974399&docid=68945401&x=030',
		'title': '',
		'imageId': '68945401',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974399&docid=68945400&x=030',
		'title': '',
		'imageId': '68945400',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974399&docid=68945406&x=030',
		'title': '',
		'imageId': '68945406',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974399&docid=68945403&x=030',
		'title': '',
		'imageId': '68945403',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974399&docid=68945402&x=030',
		'title': '',
		'imageId': '68945402',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974399&docid=68945404&x=030',
		'title': '',
		'imageId': '68945404',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974399&docid=68945407&x=030',
		'title': '',
		'imageId': '68945407',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3974399';

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