var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3986665&docid=69420154&x=5515',
		'title': '',
		'imageId': '69420154',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986665&docid=69420156&x=5515',
		'title': '',
		'imageId': '69420156',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986665&docid=69420157&x=5515',
		'title': '',
		'imageId': '69420157',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986665&docid=69420155&x=5515',
		'title': '',
		'imageId': '69420155',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986665&docid=69420148&x=5515',
		'title': '',
		'imageId': '69420148',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986665&docid=69420158&x=5515',
		'title': '',
		'imageId': '69420158',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986665&docid=69420150&x=5515',
		'title': '',
		'imageId': '69420150',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986665&docid=69494671&x=5515',
		'title': '',
		'imageId': '69494671',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986665&docid=69494672&x=5515',
		'title': '',
		'imageId': '69494672',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986665&docid=69420151&x=5515',
		'title': '',
		'imageId': '69420151',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986665&docid=69420152&x=5515',
		'title': '',
		'imageId': '69420152',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986665&docid=69420153&x=5515',
		'title': '',
		'imageId': '69420153',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3986665';

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