var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4011217&docid=70174527&x=3219',
		'title': '',
		'imageId': '70174527',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011217&docid=70174534&x=3219',
		'title': '',
		'imageId': '70174534',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011217&docid=70174530&x=3219',
		'title': '',
		'imageId': '70174530',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011217&docid=70174550&x=3219',
		'title': '',
		'imageId': '70174550',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011217&docid=70174531&x=3219',
		'title': '',
		'imageId': '70174531',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011217&docid=70174547&x=3219',
		'title': '',
		'imageId': '70174547',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011217&docid=70174546&x=3219',
		'title': '',
		'imageId': '70174546',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011217&docid=70174536&x=3219',
		'title': '',
		'imageId': '70174536',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011217&docid=70174548&x=3219',
		'title': '',
		'imageId': '70174548',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011217&docid=70174549&x=3219',
		'title': '',
		'imageId': '70174549',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011217&docid=70174544&x=3219',
		'title': '',
		'imageId': '70174544',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011217&docid=70174541&x=3219',
		'title': '',
		'imageId': '70174541',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011217&docid=70174535&x=3219',
		'title': '',
		'imageId': '70174535',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011217&docid=70174528&x=3219',
		'title': '',
		'imageId': '70174528',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011217&docid=70174529&x=3219',
		'title': '',
		'imageId': '70174529',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011217&docid=70174532&x=3219',
		'title': '',
		'imageId': '70174532',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011217&docid=70174538&x=3219',
		'title': '',
		'imageId': '70174538',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011217&docid=70174537&x=3219',
		'title': '',
		'imageId': '70174537',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011217&docid=70174539&x=3219',
		'title': '',
		'imageId': '70174539',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011217&docid=70174540&x=3219',
		'title': '',
		'imageId': '70174540',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011217&docid=70174545&x=3219',
		'title': '',
		'imageId': '70174545',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011217&docid=70174533&x=3219',
		'title': '',
		'imageId': '70174533',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011217&docid=70174543&x=3219',
		'title': '',
		'imageId': '70174543',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011217&docid=70174542&x=3219',
		'title': '',
		'imageId': '70174542',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4011217';

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