var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4011200&docid=70174329&x=2646',
		'title': '',
		'imageId': '70174329',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011200&docid=70174334&x=2646',
		'title': '',
		'imageId': '70174334',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011200&docid=70174343&x=2646',
		'title': '',
		'imageId': '70174343',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011200&docid=70174345&x=2646',
		'title': '',
		'imageId': '70174345',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011200&docid=70174339&x=2646',
		'title': '',
		'imageId': '70174339',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011200&docid=70174337&x=2646',
		'title': '',
		'imageId': '70174337',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011200&docid=70174346&x=2646',
		'title': '',
		'imageId': '70174346',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011200&docid=70174344&x=2646',
		'title': '',
		'imageId': '70174344',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011200&docid=70174341&x=2646',
		'title': '',
		'imageId': '70174341',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011200&docid=70174338&x=2646',
		'title': '',
		'imageId': '70174338',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011200&docid=70174347&x=2646',
		'title': '',
		'imageId': '70174347',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011200&docid=70174330&x=2646',
		'title': '',
		'imageId': '70174330',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011200&docid=70174331&x=2646',
		'title': '',
		'imageId': '70174331',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011200&docid=70174335&x=2646',
		'title': '',
		'imageId': '70174335',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011200&docid=70174332&x=2646',
		'title': '',
		'imageId': '70174332',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011200&docid=70174342&x=2646',
		'title': '',
		'imageId': '70174342',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011200&docid=70174340&x=2646',
		'title': '',
		'imageId': '70174340',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011200&docid=70174333&x=2646',
		'title': '',
		'imageId': '70174333',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011200&docid=70174336&x=2646',
		'title': '',
		'imageId': '70174336',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011200&docid=70174352&x=2646',
		'title': '',
		'imageId': '70174352',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011200&docid=70174351&x=2646',
		'title': '',
		'imageId': '70174351',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011200&docid=70174348&x=2646',
		'title': '',
		'imageId': '70174348',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011200&docid=70174349&x=2646',
		'title': '',
		'imageId': '70174349',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011200&docid=70174350&x=2646',
		'title': '',
		'imageId': '70174350',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4011200';

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